Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
11 lines (10 sloc) 166 Bytes
function isscalar(A)
%% isscalar(A)
%% returns 1 if A is 1 x 1 matrix
if columns(A) == 1
if rows(A) == 1
return 1
end
end
return 0
endfunction