Monday, 15 June 2015

find place multiply a matrix in cell array with string and matrix -



find place multiply a matrix in cell array with string and matrix -

i have cell array

<n*n*n cell>

this array contain matrixs , string . illustration n=4, array has form :

val(:,:,1) = columns 1 through 2 'string1' 'string1' 'string2' 'string2' 'string3' [16x16 double] 'string4' [16x16 double] columns 3 through 4 'string1' 'string1' [16x16 double] [16x16 double] 'string3' [16x16 double] [16x16 double] 'string4' val(:,:,2) = columns 1 through 2 'string1' 'string1' 'string2' 'string2' [16x16 double] 'string3' [16x16 double] 'string4' columns 3 through 4 [16x16 double] [16x16 double] 'string2' 'string2' 'string3' [16x16 double] [16x16 double] 'string4' val(:,:,3) = columns 1 through 2 'string1' [16x16 double] [16x16 double] 'string2' 'string3' 'string3' [16x16 double] [16x16 double] columns 3 through 4 'string1' [16x16 double] 'string2' [16x16 double] 'string3' 'string3' 'string4' 'string4' val(:,:,4) = columns 1 through 2 'string1' [16x16 double] [16x16 double] 'string2' [16x16 double] [16x16 double] 'string4' 'string4' columns 3 through 4 [16x16 double] 'string1' [16x16 double] 'string2' 'string3' 'string3' 'string4' 'string4'

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

i want multiply matrix in array , matrix should not multiplied in strings , should determine each reply done multiplying on cell array؟ right code or approach?

arrays string matlab matrix cell

No comments:

Post a Comment