How to do this while loop
Mostrar comentarios más antiguos

4 comentarios
Walter Roberson
el 5 de Mzo. de 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
el 5 de Mzo. de 2020
Robin Li
el 5 de Mzo. de 2020
Walter Roberson
el 5 de Mzo. de 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?
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Wavelet Toolbox en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!