Hi, i have pk=1x6 cell,each cell contains 192x192 data, i need to divide each 192x192 data into 3x3,then perfrom "AND",i.e result=64x64x6
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
kaavya subramani
am 22 Nov. 2016
Bearbeitet: Walter Roberson
am 22 Nov. 2016
plz check whether my code is correct
fun=@(block_struct) sum(block_struct.data);
for ol=1:length(pk)
result(:,:,ol)=blockproc(pk{ol},[3 3],fun)
end
0 Kommentare
Akzeptierte Antwort
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Data Import and Analysis finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!