필터 지우기
필터 지우기

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

조회 수: 8 (최근 30일)
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.

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

Help CenterFile Exchange에서 2-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