早教吧 育儿知识 作业答案 考试题库 百科 知识分享

t=0:0.01:2*pi;z=t.^2*sin(t);plot(t,z)Errorusing==>mtimesInnermatrixdimensionsmustagree.Errorin==>asat4z=t.^2*sin(t);

题目详情
t=0:0.01:2*pi; z=t.^2*sin(t); plot(t,z)
Error using ==> mtimes
Inner matrix dimensions must agree.
Error in ==> as at 4
z=t.^2*sin(t);
▼优质解答
答案和解析
>> t=0:0.01:2*pi;
y=(t.^2).*sin(t);
plot(t,y)