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
Afficher commentaires plus anciens
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
Réponses (2)
Walter Roberson
le 6 Fév 2014
syms x
f = sin(x);
xvals = 0 : .01 : 2*pi;
plot(xvals, double(subs(f, x, xvals)));
Catégories
En savoir plus sur Logical dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!