How to count no. of output result from a program

조회 수: 2 (최근 30일)
Amit
Amit 2012년 2월 12일
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