how to make matlab display final complete results directly
    3 ビュー (過去 30 日間)
  
       古いコメントを表示
    
Here's an example
>> R(1)
ans =
-log(- 1004229921906619062839952526185507/1913851274991446601508198548841385*i - 143584884070040384103267078403784/1913851274991446601508198548841385)
i want to know the value of R(1) R is a 3x1 matrix, and R(1) will display the result in R(1,1) but the results is in a long form,
i need to highlight the results, right click, and click "evaluate selection"
>> -log(- 1004229921906619062839952526185507/1913851274991446601508198548841385*i - 143584884070040384103267078403784/1913851274991446601508198548841385)
ans =
     0.6348 + 1.7128i
why is this happening, how can i make it display the final answer 0.6348 + 1.7128i straight away?
0 件のコメント
採用された回答
  Jan
      
      
 2012 年 5 月 14 日
        Are you looking for the DISP command?
The number 1004229921906619062839952526185507 has more digits than can be represented as DOUBLE.
その他の回答 (0 件)
参考
カテゴリ
				Help Center および File Exchange で Entering Commands についてさらに検索
			
	Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!

