can i create a real variable i.e variable which does not have any value but i will specify the datatype of variable and i want to use it for ploting
1 次查看(过去 30 天)
显示 更早的评论
can i create a real variable i.e variable which does not have any value but i will specify the datatype of variable and i want to use it for ploting
0 个评论
回答(2 个)
Walter Roberson
2014-2-6
syms x
f = sin(x);
xvals = 0 : .01 : 2*pi;
plot(xvals, double(subs(f, x, xvals)));
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Calculus 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!