How to do this while loop
Afficher commentaires plus anciens

4 commentaires
Walter Roberson
le 5 Mar 2020
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
le 5 Mar 2020
Robin Li
le 5 Mar 2020
Walter Roberson
le 5 Mar 2020
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?
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur Wavelet Toolbox dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!