Please forgive me if this is a basic question. I would like to create a new row as the value for freq increases by one to the struct coherence that is created.
for freq = 10; % Would change to freq=10:50
coherence = {}; for coherence_index = 1:length(three_d_trials) coherence{coherence_index} = cmc_coherence(three_d_trials{coherence_index}, freq, 1000); coherence{coherence_index} = squeeze(coherence{coherence_index}); endend
Best Answer