Bye Bye Moore

PoCソルジャーな零細事業主が作業メモを残すブログ

numel関数でオブジェクト数を数える

実際のところ

a = 1;
b = ones (2, 3);
numel (a, b)
%> ans =  6