Function FLOAT in FORTRAN to Matlab
古いコメントを表示
Hi everyone,
I've this Fortran code:
IF(j<11) THEN
r = FLOAT(j)*0.3
ELSEIF(j<=20)THEN
r = FLOAT(j)/5.0*3.0
ELSEIF(j<=30)THEN
r = FLOAT(j)*2.0
ELSEIF(j<=40) THEN
r =FLOAT(j)*5.0
How can I traslate this code in Matlab? In particular the function "FLOAT"
採用された回答
その他の回答 (0 件)
カテゴリ
ヘルプ センター および File Exchange で Fortran with MATLAB についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!