what is the difference between a vector and a matrix?
조회 수: 102 (최근 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!