MATLAB: Extract from a list of cell celllist here is my code: peak_loc = cell(216,1) peak_loc{3} = [596,620, 697] is it possible to extract only the 596 from the list? Thanks Best Answer peak_loc{3}(1) Related SolutionsMATLAB: How to find peaks for a graph plotted in semi-log axes and to extract the values of peak and FWHM Use findpeaks with more than 2 outputs: [pks,locs,widths,proms] = findpeaks(PeakSig,x);See the documentation section on Peak Prominences (link) for details. It specifically describes the ‘widths’ output as ‘Display the prominences and the widths at half prominence of all the peaks.’ MATLAB: Extract data from cell YourCell(~cellfun(@isempty,YourCell)) Related QuestionExtracting data from cellIdentify when there is a jump in a increase list of numbersExtracting Data from CellsExtract peaks and troughs from a curveAdding the signal in a specific intervalExtracting submatrices from cell
Best Answer