Filter löschen
Filter löschen

How to count no. of output result from a program

3 Ansichten (letzte 30 Tage)
Amit
Amit am 12 Feb. 2012
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.

Antworten (2)

bym
bym am 12 Feb. 2012
perhaps
x = mean(magic(4));
counts = numel(x)
is what you are after

Image Analyst
Image Analyst am 12 Feb. 2012

Kategorien

Mehr zu Matrix Indexing finden Sie in Help Center und File Exchange

Tags

Produkte

Community Treasure Hunt

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

Start Hunting!

Translated by