I know this question have been frequently asked but since i still get an error after trying all the proposed solutions here, i decide to post my problem:
i generate PDF values and i want to plot all of them on the same graph with the same x axis:
ylabel('Power 10*log10 (m/s^2)/Hz or dB')
i try to use hold on function after my plot but i get this following error:
Error in color/linetype argument.
Error in PSDplot (line 37)
since i got 500 PDF vectors i think using a loop would be better instead of plotting them like semilogx(tc,PDF1, tc,PDF2, tc,PDF2,...)
tc and PDF have both the same length (113).