Question: Using matlab, I would like to loop through a cell array: index_cell= {ndex1, index2, ....index(length(index_cell}, in each step extract the value of index(i), then plot(output...val(
Using matlab, I would like to loop through a cell array: index_cell= {ndex1, index2, ....index(length(index_cell}, in each step extract the value of index(i), then plot(output...val( : , index(i), indexQsh), followed by plot(output..val(same as before)+output..val(: , next index(i+1)(of my cell), indexQsh). How do I go about? Please note that I want to plot the element sum of the arrays as I go by with the loop Regards
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
