Borrar filtros
Borrar filtros

FOR loop standard deviation of multiple images

3 visualizaciones (últimos 30 días)
Megan Wang
Megan Wang el 20 de Jul. de 2017
I want to construct a FOR loop to calculate the standard deviations of multiple images all stored within one 4x5 matrix. Then I would like the standard deviations to be stored within the vector B. I keep getting an error message and the code I have right now is:
if true
for E = 1 : 5
for D = 1 : 4
B(1i) = std2(ca{D,E});
end
end
% code
end

Respuestas (0)

Categorías

Más información sobre Multidimensional Arrays en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by