how to Display data in matrix with with more than 4 decimals

前端 未结 1 1495
挽巷
挽巷 2020-12-11 19:49

He,

My question is about this matlab output:

>>model3.Mu

ans =

0.7677    -1.1755   -0.8956

-0.0100    0.0883    0.0235

0.0001    -0.0010           


        
相关标签:
1条回答
  • 2020-12-11 20:29

    type at the matlab prompt:

    >> help format
    

    I think what you want to do is issue the command "FORMAT LONG" before you execute your script.

    You can also print the matrix out to arbitrary precision using fprintf in a loop.

    0 讨论(0)
提交回复
热议问题