what is the difference between a vector and a matrix?
91 ビュー (過去 30 日間)
古いコメントを表示
what is the difference between a vector and a matrix?
0 件のコメント
採用された回答
Matz Johansson Bergström
2015 年 1 月 24 日
編集済み: Matz Johansson Bergström
2015 年 1 月 24 日
A matrix is simply a rectangular array of numbers and a vector is a row (or column) of a matrix.
2 件のコメント
per isakson
2015 年 1 月 24 日
The wiki link says "Bad title"
Matz Johansson Bergström
2015 年 1 月 24 日
Well spotted. The parentheses in the wiki URL was coded wrong. Fixed it now.
その他の回答 (4 件)
mntaser salem
2015 年 1 月 24 日
vector is one dimension array such a=[1 2 3 4 5], but matrix is more than one dimension array such 2*2 matrix b =[ 2 4 6 8 ] , and has some of operation.
2 件のコメント
Yared Bekele
2021 年 7 月 8 日
Matrix can be one dimesional or more than one, but vector is only one dimesionsl (i.e row vector, column vector). All vectors are matrix, but not all matrix are vectors.
0 件のコメント
Walter Roberson
2021 年 7 月 8 日
I discus the various cases at https://www.mathworks.com/matlabcentral/answers/505251-scalar-vs-matrix-vs-vector-vs-array#answer_415372
0 件のコメント
参考
カテゴリ
Help Center および 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!