mirror of
https://github.com/kuhyx/WUT_Computer_Science.git
synced 2026-07-06 11:23:15 +02:00
5 lines
151 B
Mathematica
5 lines
151 B
Mathematica
|
|
function checkIfMatrixIsSquareMatrix(Matrix)
|
||
|
|
[Rows,Columns] = size(Matrix);
|
||
|
|
if Rows ~= Columns
|
||
|
|
error ('Matrix is not square matrix!');
|
||
|
|
end % end if
|