Using if condition store values in an array
Mostrar comentarios más antiguos
I have a list of numbers stored as double type in a variable B. I want to use if condition so that if the value of element in B is greater than or equal to 12, I want to store all those values in another array named C.

1 comentario
Walter Roberson
el 19 de Feb. de 2021
Editada: Walter Roberson
el 20 de Feb. de 2021
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Matrix Indexing 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!