Borrar filtros
Borrar filtros

How to count no. of output result from a program

3 visualizaciones (últimos 30 días)
Amit
Amit el 12 de Feb. de 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.

Respuestas (2)

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

Image Analyst
Image Analyst el 12 de Feb. de 2012

Categorías

Más información sobre Matrix Indexing en Help Center y File Exchange.

Etiquetas

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by