I know that length(x) returns max(size(x)) and numel(x) returns the total ... In term of performance, it depends on the inner working of arrays in MATLAB.
確定! 回上一頁