I have defined a cell array in the name of "T_mn" having "n_layers" number of cells.
Each cell is having a vector containing "n_modes" elements.
I want to find the product of element "req_mode" in each vector among the cells between "wire_lay" – "obs_lay"
when I though of using this code it is not working
for wire_lay=1:1:n_layers for req_mode=1:1:l_modes for obs_lay=1:1:n_layersA=prod(T_mn{wire_lay:1:obs_lay}(req_mode))endendend
Can you help?
Best Answer