
How can i use If block for a matrix in SIMULINK?
    2 visualizaciones (últimos 30 días)
  
       Mostrar comentarios más antiguos
    
    Alex Yande
 el 18 de Mzo. de 2019
  
    
    
    
    
    Comentada: madhan ravi
      
      
 el 19 de Mzo. de 2019
            My block-set should use if block and convert any value of the given matrix from current value to 5 if a value greater than 0.
How can i do this operation?
Thx!!
I have just added the model and image.

0 comentarios
Respuesta aceptada
  madhan ravi
      
      
 el 18 de Mzo. de 2019
        Ok lets use some vectorised method (logical indexing):

6 comentarios
Más respuestas (0)
Ver también
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!


