MATLAB Answers

0

long digit scaled fixed point?

Le Xuan Thang さんによって質問されました 2019 年 6 月 19 日
最新アクティビティ Star Strider
さんによって コメントされました 2019 年 6 月 19 日
i want to see very long digit scaled fixed point
Example: i have a number: 8.123 e-15. And after that. e-16 become to 0. And i want see more. Anyone can tell me how to fix this? . Many thank.

  0 件のコメント

サインイン to comment.

製品


リリース

R2018b

1 件の回答

Star Strider
Star Strider 님의 답변 19 Jun 2019
 채택된 답변

I ma not certain what problem you are seeing.
The format function may be what you want.
For example:
format long e
n = 8.123e-15
n = n/100
produces:
n =
8.123000000000000e-15
n =
8.123000000000000e-17

  7 件のコメント

As always, my pleasure.
Your objective function or cost funciton is likely not the problem. This is most likely the expected behaviour of the optimisation function you are using.
i find out my problem. It is boundary condition of my function. many thank sir.
As always, my pleasure.

サインイン to comment.



Translated by