Which format can be choosen

조회 수: 4 (최근 30일)
MINATI PATRA
MINATI PATRA 2021년 6월 3일
댓글: MINATI PATRA 2021년 6월 4일
syms x
f = - 0.00000000000000000000000044574112852848068606808271927672*x^21 + 0.0000000000000000030044127779970749176557242324773*x^20 - 0.000000000056302615985881136490640044463735*x^19 + 0.00000000000017378935724165993341192746035199*x^18 - 0.0000000014891215183454938397421269093944*x^17 + 0.00000001363607885771973858689574596145*x^16;
%% Can it be possible to express the above expression in exponential form
(e.g 0.00000001363607885771973858689574596145 = 1.3636 * 10^(- 8) )

채택된 답변

Steven Lord
Steven Lord 2021년 6월 3일
syms x
f = - 0.00000000000000000000000044574112852848068606808271927672*x^21 + 0.0000000000000000030044127779970749176557242324773*x^20 - 0.000000000056302615985881136490640044463735*x^19 + 0.00000000000017378935724165993341192746035199*x^18 - 0.0000000014891215183454938397421269093944*x^17 + 0.00000001363607885771973858689574596145*x^16
f = 
vpa(f, 5)
ans = 
  댓글 수: 1
MINATI PATRA
MINATI PATRA 2021년 6월 4일
Hi Steven
Thanks for your help but it is not working for the following expression: (Some parts are not accurate)
Fv = - 4.4574e-25*x^21 + 3.0044e-21*x^20 - 5.6303e-17*x^19 + 1.7379e-13*x^18 - 1.4891e-9*x^17 + 1.3636e-8*x^16 - 2.8806e-9*x^15 - 2.0262e-7*x^14 - 7.3855e-8*x^13 - 4.8971e-7*x^12 + 0.000011088*x^11 + 0.000021129*x^10 - 0.000080694*x^9 + 0.00010399*x^8 - 0.0011636*x^7 - 0.010797*x^6 - 0.00084088*x^5 - 0.2542*x^4 + 0.1897*x^3 - 2.0757*x^2 + 0.78487*x + 0.078487;
%% And Can it be arranged in ascending order (Please help!)

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Formula Manipulation and Simplification에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by