How do I swap the elements in two arrays?
    3 visualizaciones (últimos 30 días)
  
       Mostrar comentarios más antiguos
    
    Zhuoying Lin
 el 20 de Nov. de 2017
  
    
    
    
    
    Comentada: Zhuoying Lin
 el 20 de Nov. de 2017
            Hi, I have these two arrays:
a={'sin', {0, '2*pi', 'pi/100'}, logical([0 1 1 0])};
b={'cos',{'-pi','pi','pi/15'},logical([0 0 0 1])};
Now I want to swap the third cell in a and b?
Thanks!
0 comentarios
Respuesta aceptada
Más respuestas (0)
Ver también
Categorías
				Más información sobre Data Types 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!

