if the answer comes out as an expression of numbers how to just make it be expressed in calculated single value?
이전 댓글 표시

_
so my problem is this: as you can see above, the answer has come out not as a single number but an expression with many numbers.
So if I want to see the calculated result of this weird long expression, I have to copy & paste to the command line myself and press enter.
Is there some kind of code that will do this job for me? (perhaps something like 'value()' or etc.)
(FYI, this kind of long expression came out when I used 'solve()' function.)
채택된 답변
추가 답변 (1개)
Azzi Abdelmalek
2013년 11월 28일
double(a)
카테고리
도움말 센터 및 File Exchange에서 Programming에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!