how to add to matrix of different dimensions
    4 visualizaciones (últimos 30 días)
  
       Mostrar comentarios más antiguos
    
Ex: a=3*10; b=b+a; in the first iteration b is getting 3*10, next iteration if a is 7*10 getting error. how to rectify
6 comentarios
  Walter Roberson
      
      
 el 27 de Jun. de 2018
				If b is 3 x 10 and a is 4 x 10 and you want to combine into a 7 x 10 array, then
b = [b; a];
Respuestas (0)
Ver también
Categorías
				Más información sobre Get Started with MATLAB 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!