主题:新手求助 关于画图
各位DD 小弟刚学M 有个画图的问题要问下
过程是这样:
t=0:pi/100:2*pi;
y=exp(-0.5.*t).*cos(t);
plot(t,y)
grid on
tt=t(fing(y==0.6));
plot(tt,0.60,'ro','MarkerSize',10);
然后系统提示:
??? Error using ==> plot
Vectors must be the same lengths.
后来我直接键入tt 系统提示
tt =
Empty matrix: 1-by-0
这是怎么回事 为什么在这个函数中无法找点
问题很初级 但也希望能的到帮助 谢谢各位DX了
我的QQ:285105007 邮箱:dracula13@126.com
过程是这样:
t=0:pi/100:2*pi;
y=exp(-0.5.*t).*cos(t);
plot(t,y)
grid on
tt=t(fing(y==0.6));
plot(tt,0.60,'ro','MarkerSize',10);
然后系统提示:
??? Error using ==> plot
Vectors must be the same lengths.
后来我直接键入tt 系统提示
tt =
Empty matrix: 1-by-0
这是怎么回事 为什么在这个函数中无法找点
问题很初级 但也希望能的到帮助 谢谢各位DX了
我的QQ:285105007 邮箱:dracula13@126.com