Info
Diese Frage ist geschlossen. Öffnen Sie sie erneut, um sie zu bearbeiten oder zu beantworten.
operation array in cell
3 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
i have a problem. i have a cell A. cell A have 13*13 blocks (A{1,1},A{1,2},..., A{13,13})and every blocks have 8*8 pixels. i have matrix p 169*1 and matrix q 169*1.
i want to process them to find value A' = A*p + q.
example, A'{1,1} = (A{1,1}*p(1,1))+q(1,1).
next A'{1,2} = (A{1,2}*p(1,2))+q(1,2) and finally until A'{13,13}
3 Kommentare
Antworten (1)
Andrei Bobrov
am 4 Mär. 2013
Bearbeitet: Andrei Bobrov
am 4 Mär. 2013
out = A';
for jj = 1:numel(out)
out{jj} = out{jj}*p(jj)+q(jj);
end
out = out';
Diese Frage ist geschlossen.
Siehe auch
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!