Info

この質問は閉じられています。 編集または回答するには再度開いてください。

Alternative int32 old matlab doesn't support

1 回表示 (過去 30 日間)
Nicola
Nicola 2014 年 3 月 19 日
閉鎖済み: MATLAB Answer Bot 2021 年 8 月 20 日
Good morning,
how can i do the
int32
function in a different way? Because Matlab 5.2 doesn't support it, and i have to use that version
Thanks so much
Best regards Nicola

回答 (2 件)

Walter Roberson
Walter Roberson 2014 年 3 月 19 日
"With a great deal of difficulty".
Please explain more about what you need to do with int32 ?

Image Analyst
Image Analyst 2014 年 3 月 19 日
Try using round instead. It will give you exact integers (no problems like this I believe) but the class is double instead of integer. But I think it should work well in all or most situations you will encounter.
By the way, why not just upgrade to the latest version? Your version was made during the last century, literally!

この質問は閉じられています。

Community Treasure Hunt

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

Start Hunting!

Translated by