Info

Cette question est clôturée. Rouvrir pour modifier ou répondre.

operation array in cell

2 vues (au cours des 30 derniers jours)
Internazionale
Internazionale le 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 commentaires
Walter Roberson
Walter Roberson le 1 Mar 2013
Açmae
Açmae le 1 Mar 2013
Modifié(e) : Açmae le 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?

Réponses (0)

Cette question est clôturée.

Community Treasure Hunt

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

Start Hunting!

Translated by