필터 지우기
필터 지우기

1d function varies with time: plot

조회 수: 2 (최근 30일)
SA-W
SA-W 2020년 11월 13일
편집: Cris LaPierre 2022년 8월 12일
Hi,
I have a very simple problem:
Given is a known function u(x,t). I want to create a x-y-plot, where the x-values vary with the time.
I have no experience with this yet. Can someone tell me which function I need to plot this problem?
Thank you in advance!

채택된 답변

Cris LaPierre
Cris LaPierre 2020년 11월 13일
It would probably be a good use of your time to go through MATLAB Onramp. Ch 9 covers plotting, but it sounds like you might want to start at the beginning.
  댓글 수: 8
SA-W
SA-W 2020년 11월 13일
Thank you!
But actually what I need is more a animation or Video. You plotted all the curves for 1 second to 10 seconds, so in total 10 curves for discrete timepoints .
I imagine it like: The figure opens. After 1 second, the figure shows the curve y=1*x, after 5 seconds y=5*x, after 10 seconds y=10*x. So it is a Video of how the x-valus change with time. Do you know what I mean?
Cris LaPierre
Cris LaPierre 2020년 11월 13일
편집: Cris LaPierre 2022년 8월 12일
See this page in the doc.

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

추가 답변 (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