response of damped spring mass system at natural frequency and compared with undamped spring mass system ..
for undamped spring mass function download previously uploaded ..spring_mass(F,m,k,w,t,y) function file .
N Narayan rao (2019). Damped resonant (Spring Mass System) (https://www.mathworks.com/matlabcentral/fileexchange/58813-damped-resonant-spring-mass-system), MATLAB Central File Exchange. Retrieved .