728x90
반응형
Example1 : 4-by-5 matrix a
a = [1 2 3 4 5; 2 3 4 5 6; 3 4 5 6 7; 4 5 6 7 8]
Example2 : mth row and nth column, of a matrix mx ----- mx(m, n);
a = [ 1 2 3 4 5; 2 3 4 5 6; 3 4 5 6 7; 4 5 6 7 8];
a(2,5)
Reference : https://www.tutorialspoint.com/matlab/matlab_matrics.htm
MATLAB - Matrix - Tutorialspoint
MATLAB - Matrix A matrix is a two-dimensional array of numbers. In MATLAB, you create a matrix by entering elements in each row as comma or space delimited numbers and using semicolons to mark the end of each row. For example, let us create a 4-by-5 matrix
www.tutorialspoint.com
728x90
반응형
'전기' 카테고리의 다른 글
[standard] Power Quality Standards 참고 (국가 및 지역별) (0) | 2023.03.30 |
---|---|
[Rotary Switch] FSR-10 특징 및 사용법 (0) | 2023.02.15 |
MATLAB - plot examples / 매틀랩 - plot 예제 (0) | 2021.01.27 |
MATLAB - Commands / 매틀랩 - 명령어 (0) | 2021.01.26 |