Conversion to double from sym is not possible.
1 回表示 (過去 30 日間)
古いコメントを表示
i want to plot the relation between time&velocity by differentiate displacement , but there is an error
syms x t;
x=2.5*cos(10*pi*t);
vel=diff(x,'t');
i=0;
for t=0:.01:100;
i=i+1;
x(i)=x;
vel(i)=vel;
plot(t,vel)
end
??? Error using ==> plot
Conversion to double from sym is not possible.
can you help me ?
0 件のコメント
回答 (1 件)
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!