Question about syms
Infos
Cette question est clôturée. Rouvrir pour modifier ou répondre.
Afficher commentaires plus anciens
Hi, hey im trying to operate with a symbolic expression, but i have this problem:
cpcb=-7.206e-5 syms t
cpcb*t
ans =
-(5317089511806041*tsymb)/73786976294838206464
I need the data from the operation but i dont need in such a weird/cmplex view. Is there any way to show the symbolic operation as -7.206e-5*tsymb??? Thx
Réponses (2)
Walter Roberson
le 2 Mai 2011
vpa(ans)
1 commentaire
Paulo Silva
le 2 Mai 2011
This is just in case Camilo wants the value in that exact form
a=sym2poly(vpa(cpcb*t))
format short
a(1) %this is the value -7.206e-5
Camilo Lasso
le 2 Mai 2011
0 votes
Cette question est clôturée.
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!