Problem 56025. Définir une fonction creneau
Definr une fonction "creneau" qui prend en entrée un vecteur et renvoie la valeur 1 pour chaque élément positif du vecteur et zéro sinon.
Solution Stats
Solution Comments
Show commentsProblem Recent Solvers32
Suggested Problems
-
07 - Common functions and indexing 3
421 Solvers
-
Find the index of the largest value in any vector X=[4,3,4,5,9,12,0,4.....5]
390 Solvers
-
Cumulative product of a vector
291 Solvers
-
148 Solvers
-
239 Solvers
More from this Author7
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!