How to count no. of output result from a program
6 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
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.
0 comentarios
Respuestas (2)
bym
el 12 de Feb. de 2012
perhaps
x = mean(magic(4));
counts = numel(x)
is what you are after
0 comentarios
Image Analyst
el 12 de Feb. de 2012
Here's one step in the process - read this: http://www.mathworks.com/matlabcentral/answers/6200-tutorial-how-to-ask-a-question-on-answers-and-get-a-fast-answer
0 comentarios
Ver también
Categorías
Más información sobre Matrix Indexing en Help Center y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!