Matrix manipulation with vectors
2 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Hi,
I was wondering if there is a way that I can assign a part of a matrix to a vector. For example I have a 50x50 matrix and I want to assign the first column from the first element in that column to the 46th element to a vector(excluding the last 4 element).
Thank you in advance
0 comentarios
Respuesta aceptada
Azzi Abdelmalek
el 25 de Feb. de 2013
Editada: Azzi Abdelmalek
el 25 de Feb. de 2013
A(1:46,1) % first column from 1 to 46
0 comentarios
Más respuestas (1)
Ver también
Categorías
Más información sobre Multidimensional Arrays 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!