Filter löschen
Filter löschen

Plotting the free vibration response of a single degree of freedom graph in matlab

8 Ansichten (letzte 30 Tage)
As part of the assignment, we have to plot the free vibration response of a single degree of freedom graph over the displacement vs time. The t should increase up to 3 seconds with the increment of the .05. When I try to plot the graph based on the MAIN code below I am not getting any graphs at all. Please any help would be highly appreciated. Please let me know if need to provide more information. DHMAT is subroutine function file to calculate the matrices A and B. EXCITTION file is to calculate the F(excitation).
  2 Kommentare
Ashutosh Singh Baghel
Ashutosh Singh Baghel am 24 Sep. 2021
Bearbeitet: Image Analyst am 26 Sep. 2021
Hi Nidhi,
I understand the graph is plotting two points but they are too small to visualise. Please use MarkerSize for better visualization. An example is shown below:
plot(t_i, x_vectornew, 'o--', 'MarkerSize', 30);
Please refer to the 'plot' documentation page for further references.

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Kategorien

Mehr zu 2-D and 3-D Plots finden Sie in Help Center und File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by