필터 지우기
필터 지우기

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 CenterFile Exchange에서 Linear Algebra에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by