strange format of result(division operation)
7 views (last 30 days)
Show older comments
Commented: shirin mhd on 25 Mar 2022
I've written this code:
and the answer should be a number. but what I get after running the code is :
that is not what I expect!
Matlab doesn't do the division operation and I wnat have the final result that is a number. what should i do?
I really appreciate your help.
Chunru on 25 Mar 2022
Symbolic computation tries its best not to loose accuracy. You can convert it to a number at the end
final_sol = double(allocate)
More Answers (0)
Find more on Assumptions 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!