Effacer les filtres
Effacer les filtres

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

8 vues (au cours des 30 derniers jours)
Anjani
Anjani le 19 Sep 2021
Modifié(e) : Image Analyst le 26 Sep 2021
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 commentaires
Ashutosh Singh Baghel
Ashutosh Singh Baghel le 24 Sep 2021
Modifié(e) : Image Analyst le 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.
Anjani
Anjani le 26 Sep 2021
Thank you for the suggestions.

Connectez-vous pour commenter.

Réponses (0)

Catégories

En savoir plus sur 2-D and 3-D Plots dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by