How to convert a very big rational number obtained into decimal form? Please See : format short is not making any difference
4 ビュー (過去 30 日間)
古いコメントを表示
for i1 = 1 : max(l11,l12) s(i1) = 0 l13 = i1 for b = 1 : i1 if(l13 > l12) den(l13) = 0 end s(i1) = s(i1) + den(l13) * q(b) % l13 = l13 - 1 end if (i1 == ROMorder) break end end
Result obtained : s = [ 600000, -155160, -79517806820667188049/7036874417766400] - error part
0 件のコメント
採用された回答
Azzi Abdelmalek
2015 年 1 月 2 日
double(s)
2 件のコメント
Stephen23
2015 年 1 月 4 日
Pooja: you accepted this answer, even though the issue still seems unresolved. Once you accept an answer, users browsing MATLAB Answers are much less likely to open this thread and read your further questions.
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Logical についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!