Filter löschen
Filter löschen

Info

Diese Frage ist geschlossen. Öffnen Sie sie erneut, um sie zu bearbeiten oder zu beantworten.

nested for loops and saving data with reduced dimensions

1 Ansicht (letzte 30 Tage)
Asl
Asl am 17 Nov. 2013
Geschlossen: MATLAB Answer Bot am 20 Aug. 2021
I want to get a resultant matrice with reduced columns: I am using 3 for loops and ine if command. but not getting third loop working properly. Actually
Matric A (100 x 150)
Matrics with filtered columns B (100 x 15)
for i = 1:100; % rows
for j = 1:150; % col
for SelectedCol = 1 :15;
if A(i,j)> 1000
B(i,SelectedCol) = bb(i,j) ; ---> how i can do this?
end
end
end
end
Thnaks

Antworten (0)

Diese Frage ist geschlossen.

Community Treasure Hunt

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

Start Hunting!

Translated by