How to do this while loop
古いコメントを表示

4 件のコメント
Walter Roberson
2020 年 3 月 5 日
What should the loop do if no whatevers have absolute value <= 1 ?
I cannot tell what it is that the absolute value is being taken for.
Is it correct that you expect your while loop to take only one trip and the whole algorithm would stop immediately because it would detect that abs(A(1)-B(1)) is <= 1 and that single entry is all you need?
Robin Li
2020 年 3 月 5 日
Robin Li
2020 年 3 月 5 日
Walter Roberson
2020 年 3 月 5 日
Are you to produce a vector the same size as A? A vector the same size as B? Are you permitted to use vectorized operations at all?
採用された回答
その他の回答 (0 件)
カテゴリ
ヘルプ センター および File Exchange で Wavelet Toolbox についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!