首页 > 编程知识 正文

如何把matlab的结果做成表格,matlab设置数据类型

时间:2023-05-06 03:14:23 阅读:170708 作者:2052

MATLAb如何实现表数据的修改

:176回复关注:2mip版

解决时间2021-01-11 09:07

提问者的阳光起伏

2021-01-10 09:50

MATLAb如何实现表数据的修改

最佳答案

二级知识专家痴情猪猪

2021-01-10 10:55

用xlsread函数读取、修正,修正完成后用xlswrite函数写回去。

全部回答

一楼错过的花

2021-01-10 12:30

数据的表示形式可以通过命令: vpa、format等改变,且fprintf格式与c基本一致,format rational最近有理数、format long 14位小数、format恢复。 VAP(c,6 )将c设定为小数6位。 fr intf (‘. 6f’,c )。

关于你的问题,可以是vap (最好的),也可以是format long eng。 如果问题允许的话,也可以事先处理数据并调整范围。 我推荐帮助。 其中详细介绍。

format命令参数:

短整型

scaled fixed point format,with4digitsafterthedecimalpoint.for example,3.1416。

长龙

scaledfixedpointformatwith 14to 15 digitsafterthedecimalpointfordouble; and7digitsafterthedecimalpointforsingle.for example,3.141592653589793。

短消息

floating point format,with4digitsafterthedecimalpoint.for example,3.1416e 000。

长e

floating point format,with 14to 15 digitsafterthedecimalpointfordouble; and7digitsafterthedecimalpointforsingle.for example,3.141592653589793e 000。

短g

best of fixed or floating point,with4digitsafterthedecimalpoint.for example,3.1416。

龙g

best of fixed or floating point,with 14to 15 digitsafterthedecimalpointfordouble; and7digitsafterthedecimalpointforsingle.for example,3.14159265358979。

短消息

engineeringformatthas4 digitsafterthedecimalpoint,andapowerthatisamultipleofthree.for example,3.1416e 000。

龙亨

engineeringformatthathasexactly 16 significantdigitsandapowerthatisamultipleofthree.for example,3.14159265358979e 000。

我会报警的

如果以上答疑内容为低俗/色情/暴力/不良/侵权信息,可以单击以下链接进行举报。 我们会做相应的处理。 谢谢您的支持。

单击此处通报以上信息!

推荐信息

大家都在看

版权声明:该文观点仅代表作者本人。处理文章:请发送邮件至 三1五14八八95#扣扣.com 举报,一经查实,本站将立刻删除。