I need to iterate through a vector, A, using a while loop. Although, I must replace every negative element with 0 until I reach an element with value 0 or checked all elements in the vector.

Catégories

En savoir plus sur Function Creation 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!

Translated by