Question about syms
정보
이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.
이전 댓글 표시
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
댓글 수: 0
답변 (2개)
Walter Roberson
2011년 5월 2일
vpa(ans)
댓글 수: 1
Paulo Silva
2011년 5월 2일
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
이 질문은 마감되었습니다.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!