if the answer comes out as an expression of numbers how to just make it be expressed in calculated single value?
Show older comments

_
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.)
Accepted Answer
More Answers (1)
Azzi Abdelmalek
on 28 Nov 2013
double(a)
Categories
Find more on Programming in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!