フィルターのクリア

How do i get a number using the solve function?

2 ビュー (過去 30 日間)
Belal Abboushi
Belal Abboushi 2015 年 3 月 8 日
コメント済み: Star Strider 2015 年 3 月 8 日
Hey, I used the solve function to find out the value of the variable LSs but I don't quite understand why i get this output:
LSs =
(10765243814088947007488*((510924334497131*exp(2413/918))/5382621907044473503744 - 510924334497131/5382621907044473503744)^(1/2))/510924334497131
how to i get it to output a number?

採用された回答

Star Strider
Star Strider 2015 年 3 月 8 日
編集済み: Star Strider 2015 年 3 月 8 日
Try:
LSs = vpa(LSs, 10)
To get it as a 10-digit number.
You can also use the vpasolve function.
  2 件のコメント
Belal Abboushi
Belal Abboushi 2015 年 3 月 8 日
Thank you! vpa worked perfectly!!
Star Strider
Star Strider 2015 年 3 月 8 日
My pleasure!

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeLinear Algebra についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by