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

13 ビュー (過去 30 日間)
Anjani
Anjani 2021 年 9 月 19 日
編集済み: Image Analyst 2021 年 9 月 26 日
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 件のコメント
Ashutosh Singh Baghel
Ashutosh Singh Baghel 2021 年 9 月 24 日
編集済み: Image Analyst 2021 年 9 月 26 日
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 2021 年 9 月 26 日
Thank you for the suggestions.

サインインしてコメントする。

回答 (0 件)

カテゴリ

Help Center および File Exchange2-D and 3-D Plots についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by