mirror of
https://github.com/kuhyx/WUT_Computer_Science.git
synced 2026-11-12 19:50:54 +01:00
5 lines
151 B
Matlab
5 lines
151 B
Matlab
function checkIfMatrixIsSquareMatrix(Matrix)
|
|
[Rows,Columns] = size(Matrix);
|
|
if Rows ~= Columns
|
|
error ('Matrix is not square matrix!');
|
|
end % end if |