필터 지우기
필터 지우기

Plot animation for a moving mass

조회 수: 4 (최근 30일)
Victor Bisono Ramia
Victor Bisono Ramia 2017년 11월 30일
댓글: Victor Bisono Ramia 2017년 12월 1일
Good evening, im learning how to code in matlab. Im a strutural engineer from Dominican Republic. Im trying to find a way to plot two vector. The first one is a time vector, and the second one is a dispplacement vector. What im trying to do is to plot an animation of a circular or square shaped mass moving around with the timing and position of the two vectors time and displacement. Can someone help me with this? I will appreciate any help or guide.
  댓글 수: 1
Victor Bisono Ramia
Victor Bisono Ramia 2017년 11월 30일
편집: KSSV 2017년 12월 1일
Its like the green mass on the video below. In the case of this video we have the moving mass and the moving soil, but im just interested in the moving mass code because the moving soil is just to add the same code for the mass in the same script.

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

답변 (1개)

KSSV
KSSV 2017년 12월 1일
  댓글 수: 1
Victor Bisono Ramia
Victor Bisono Ramia 2017년 12월 1일
Thank you sir, actually im looking for something simpler. Let say i have two vectors, one for time and the other for displacement. I jusst want an object (dot, square) to move just on X axis acordingly with the displacements given to the code on the displacement vector.

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

카테고리

Help CenterFile Exchange에서 Animation에 대해 자세히 알아보기

태그

제품

Community Treasure Hunt

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

Start Hunting!

Translated by