Matrix manipulation with vectors
古いコメントを表示
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
採用された回答
その他の回答 (1 件)
Walter Roberson
2013 年 2 月 25 日
vector = thematrix(1:end-4,1)
カテゴリ
ヘルプ センター および File Exchange で Resizing and Reshaping Matrices についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!