Effacer les filtres
Effacer les filtres

How to count no. of output result from a program

3 vues (au cours des 30 derniers jours)
Amit
Amit le 12 Fév 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.

Réponses (2)

bym
bym le 12 Fév 2012
perhaps
x = mean(magic(4));
counts = numel(x)
is what you are after

Image Analyst
Image Analyst le 12 Fév 2012

Catégories

En savoir plus sur Matrix Indexing dans Help Center et File Exchange

Tags

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by