Row to column matrix
    84 visualizaciones (últimos 30 días)
  
       Mostrar comentarios más antiguos
    
    armin m
 el 17 de Sept. de 2021
  
    
    
    
    
    Comentada: William Rose
      
 el 17 de Sept. de 2021
            Hi i want to convert row to column matrix. But my matrix includes complex numbers which transposing it causes convertion of new matrix to conjucate form. What can i do to avoid this. I mean for example:
    A=[1+5i,4+6i]
I want 
    A=[1+5i]
      [4+6i]
But A' takes
    A=[1-5i]
      [4-6i]
Tnx.
0 comentarios
Respuesta aceptada
  Image Analyst
      
      
 el 17 de Sept. de 2021
        Use .' or reshape():
A = [1 + 5i, 4 + 6i]
A = A.'   % Alternative 1
A = reshape(A, [], 1) % ALternative 2
0 comentarios
Más respuestas (1)
Ver también
Categorías
				Más información sobre Creating and Concatenating Matrices en Help Center y File Exchange.
			
	Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!


