What does the following MATLAB code do?
古いコメントを表示
>> x=7.123456789;
>> n=7;
>> delta=0.5;
>> r=x*10^n+delta;
>> r=fix(r);
>> r=r/10^n;
>> disp(r)
採用された回答
その他の回答 (0 件)
カテゴリ
ヘルプ センター および File Exchange で Operators and Elementary Operations についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!