Info

This question is closed. Reopen it to edit or answer.

operation array in cell

3 views (last 30 days)
Internazionale
Internazionale on 1 Mar 2013
i have problem with cell operation. i have 2 cells, first cell is A. A has 8*8 blocks and every blocks has 8*8 pixel. the second cell is B, B has 13*13 blocks and every blocks has 8*8 pixel.
coordinates cell A (X1,Y1) and coordinates cell B (X2,Y2)
i want to process two cells to find e and f. e=X1-(0.5*X2) and f=Y1-(0.5*Y2). so finally the output, i have 169 value of e and f. example A(1,1) have 169 value e and f and until A(8,8) have too 169 value of e and f.
  2 Comments
Açmae
Açmae on 1 Mar 2013
Edited: Açmae on 1 Mar 2013
Hi,
Could you be more specific on what you meant by "processing" two cells?
Are you trying to compute e = x1 - x2/2 and f = y1 - y2/2, by extracting the values 'x1', 'x2', 'y1', 'y2' from the cell arrays 'A' and 'B'?
Are 'x1, 'y1' etc the actual values of the entries A{i,j} of your cell array?

Answers (0)

Community Treasure Hunt

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

Start Hunting!