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!