in algorithm a~b , in MATLAB...??????
古いコメントを表示
Hi everybody, In an algorithm I am working on, I came to a check box with content:
a~b
where the '~' would be read as "a approximates b" which can be defined probably by absolute numerical difference. so if a~b=TRUE (i.e the difference b/n a and b is very small)further computations are done if not( i.e. a~b=FALSE) then termination! , if 'YES' it continues with other computations, and if 'NO' it terminates. How can I write this in MATLAB?
1 件のコメント
Walter Roberson
2011 年 10 月 19 日
In that context, it would be read as "a approximates b". But like the others say below, you need to define what approximation means in the context.
採用された回答
その他の回答 (0 件)
カテゴリ
ヘルプ センター および File Exchange で Resampling Techniques についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!