Define condition for both imaginary and real parts of numbers
    3 visualizaciones (últimos 30 días)
  
       Mostrar comentarios más antiguos
    
    armin m
 el 26 de Nov. de 2021
  
    
    
    
    
    Respondida: Adam Danz
    
      
 el 26 de Nov. de 2021
            Hi. I have a matrix. It contains numbers like a+bi. I want define a condition for numners of matrix. That say if both a and b be non zero do .... .i think iy should be like this.
if a&&b~=0
  do
end BUt it does not works.tnx
0 comentarios
Respuesta aceptada
Más respuestas (0)
Ver también
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!