matlab返回值为1.0e + 04 *的东西,如何获得最终值? [英] matlab returns values as 1.0e+04 * something, how to get the final value?
本文介绍了matlab返回值为1.0e + 04 *的东西,如何获得最终值?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
Matlab返回的值为
Matlab returns values as
1.0e + 04 * [这里的矩阵]
1.0e+04 * [matrix here]
矩阵内部的一些值为0.1981、0.5765等...
some of the values inside the matrix are 0.1981, 0.5765, etc...
如何获得此表示形式的答案 1981、5765等,而不是1.e + 04 *
How to get the answer in this representation 1981, 5765, etc... instead of 1.e+04 *
推荐答案
更改格式.试试
format long
,然后检查您的输出.如果不是您想要的格式,则可以使用其他格式选项. http: //www.mathworks.co.uk/help/techdoc/ref/format.html
and then check your output. There are other format options you can use if this is not what you want http://www.mathworks.co.uk/help/techdoc/ref/format.html
这篇关于matlab返回值为1.0e + 04 *的东西,如何获得最终值?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文