I have the following data structure (a cell array populated with vectors):
sigvecarray = {}; freqarray = {}; % Reading the audio files, getting the signal vector and the corresponding for k = 1:numel(inputarray) % indices curr_input = inputarray{k}; [y, Fs] = audioread(curr_input); sigvecarray{k} = y; freqarray{k} = Fs; end
I'm trying to plot them over a for loop by using the following:
for k = 1:numel(sigvecarray) plot(sigvecarray{k}) end
But I get only the fist vector plotted as my output. What could I be doing wrong here? Is it because the cell array is a row vector? If yes, how do I convert the cell array to a column vector from a row vector?
figure hold on for k = 1:numel(sigvecarray) plot(sigvecarray{k}) end
Matlabsolutions.com provides guaranteed satisfaction with a
commitment to complete the work within time. Combined with our meticulous work ethics and extensive domain
experience, We are the ideal partner for all your homework/assignment needs. We pledge to provide 24*7 support
to dissolve all your academic doubts. We are composed of 300+ esteemed Matlab and other experts who have been
empanelled after extensive research and quality check.
Matlabsolutions.com provides undivided attention to each Matlab
assignment order with a methodical approach to solution. Our network span is not restricted to US, UK and Australia rather extends to countries like Singapore, Canada and UAE. Our Matlab assignment help services
include Image Processing Assignments, Electrical Engineering Assignments, Matlab homework help, Matlab Research Paper help, Matlab Simulink help. Get your work
done at the best price in industry.