a small question of the sym
Afficher commentaires plus anciens
Hi I don't know how to get the numerical number after define sym. a simple code is shown as follows, how to get the value of m when x=1? Thanks
syms x n=sin(x^2); m=diff(n,x);
1 commentaire
Sean de Wolski
le 1 Avr 2011
Well-written question; you get a vote!
Réponse acceptée
Plus de réponses (1)
xingyu
le 1 Avr 2011
0 votes
1 commentaire
Walter Roberson
le 1 Avr 2011
x = 1; double(subs(n))
OR
double(subs(n,x,1)) %without assigning to x
Catégories
En savoir plus sur Multidimensional Arrays 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!