Matlab Plot

edited March 2009 in Science & Tech
How do i plot an output response curve when input unit steps are (undamped natural frequency is normalised to 1):

damping ration = 0, 0.1, 0.4,0.6,0.8,0.9 1 and 2

1) how do i plot a 2d plot for all curves on same graph. Time scale 0 - 10, steps of 0.2 seconds.
2) How do i make use of a 'for loop' to generate step response for the damping ratios,
3) How do i produce an m file to obtain response.
4) how can i produce a 3d plot
5)how do i produce a Matlab program to get rise time, peak time, settling time and max overshoot of the 2nd order system [for equation 10/ 2s^2 + 4s +15]

Comments

  • drasnordrasnor Starship Operator Hawthorne, CA Icrontian
    edited March 2009
    Output response is usually in response to some input. The MATLAB Signal Processing Toolbox has some useful functions (ramp(), step(), impulse()) that will generate response plots for impulse, step, and ramp inputs. You can read about those in the MATLAB help file. All you have to do is run them for different cases which correspond to the different damping ratios.

    -drasnor :fold:
Sign In or Register to comment.