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

回答(2 个)

Anuj
Anuj 2014-2-6
编辑:Anuj 2014-2-6

Walter Roberson
Walter Roberson 2014-2-6
syms x
f = sin(x);
xvals = 0 : .01 : 2*pi;
plot(xvals, double(subs(f, x, xvals)));

类别

Help CenterFile Exchange 中查找有关 Annotations 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by