看板 MATLAB 關於我們 聯絡資訊
num2str(4.42850688954145) ans: ['4.4285';] 後面小數點會完全不見 請問如何如何不捨位地使用num2str? -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 175.180.168.246
sunev:T = num2str(X,N) converts the matrix X into a string 02/20 21:31
sunev:representation with a maximum N digits of precision. 02/20 21:31
candy88257:感謝!!!原來num2str還能這樣用!!! 02/20 23:21
sunev:打help num2str就看得到了 02/20 23:50