my system is Quarter Car Model(QCM). i'm going to examine what is the influence of random road profile which is excited on my system. After i defined PSD of road profile and by knowing input which is ground displacement(PSDin) and output: vertical acceleration of sprung mass(PSDy). i also extract state space form : SS(A,B,C,D)=QCM (MAG,PHASE)=bode(QCM,w) so we have PSDy=MAG.^2.*PSDin mean square value of the acceleration of sprung mass is: lambda=linspace(1,100,size(MAG,2)); MSV_rms=sqrt(trapz(lambda,PSD_Y)); so i have to make iteration on damping factor (Cs) to find proper value. cs=linspace(0,2000,6000); figure (3) plot(cs,MSV_rms); so the problem is i can't plot this because i have only one value for MSV_rms. which part did i wrong?
actully i attache the picture of the plot, the plot should be like this.