필터 지우기
필터 지우기

How change the display format

조회 수: 1 (최근 30일)
Babak
Babak 2014년 6월 4일
댓글: Star Strider 2014년 6월 4일
Hi guys, I have defined a symbolic equation in matlab. When I run the program the result will be shown like this:
2239906695008851*cos(phi))/35184372088832
but my numbers simply were:
143*cos(phi)/2.24
How can I change the display format to the simple number? Thanks

채택된 답변

Star Strider
Star Strider 2014년 6월 4일
See the documentation for vpa. There are links to similar functions (such as double that might also work ) at the end of that page.
  댓글 수: 2
Babak
Babak 2014년 6월 4일
Thanks. It works
Star Strider
Star Strider 2014년 6월 4일
My pleasure!

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

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Get Started with MATLAB에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by