format of equation coefficients

1 回表示 (過去 30 日間)
Luiz
Luiz 2015 年 1 月 26 日
回答済み: Star Strider 2015 年 1 月 26 日
Please, I have a part of a script transcript:
Btheta=miz*Htheta; Btheta=subs(Btheta) format shortEng Btheta
The output doesn't present Btheta with the specified format:
Btheta =
(17802902220170337*sin(12*theta)*(107143972736275332039373393850264279320385678996161089849618843107/(294922159623673235357688878068056260995678776047895991812096000000000000000000000000000000000000000*r^12) - (191800976967353723011910915374755859375*r^12)/121976946326485916357963791565979648))/1180591620717411303424
How can I format the coeffients?
Thanks in advance.

回答 (1 件)

Star Strider
Star Strider 2015 年 1 月 26 日
Use the vpa function.

カテゴリ

Help Center および File ExchangeBiotech and Pharmaceutical についてさらに検索

製品

Community Treasure Hunt

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

Start Hunting!

Translated by