How to count no. of output result from a program

4 次查看(过去 30 天)
I am getting n no. of mean values of sub-matrices of a big matrix. Please tell me How I can count the no. of values.

回答(2 个)

bym
bym 2012-2-12
perhaps
x = mean(magic(4));
counts = numel(x)
is what you are after

Image Analyst
Image Analyst 2012-2-12

类别

Help CenterFile Exchange 中查找有关 Logical 的更多信息

标签

产品

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by