Borrar filtros
Borrar filtros

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

8 visualizaciones (últimos 30 días)
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 comentarios
Ashutosh Singh Baghel
Ashutosh Singh Baghel el 24 de Sept. de 2021
Editada: Image Analyst el 26 de Sept. de 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.

Iniciar sesión para comentar.

Respuestas (0)

Categorías

Más información sobre 2-D and 3-D Plots en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by