turn a vector into a scalar
43 次查看(过去 30 天)
显示 更早的评论
Hi,
I have a vector
Matlab is telling me that this is 1x1 sym, but I need it to be a scalar.
How can I convert this?
Thanks you
1 个评论
Ameer Hamza
2020-11-19
g=0.1178542134 is already a scalar. Can you give example of code which gives error?
回答(1 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!