How do I graph a vector with one variable

조회 수: 2 (최근 30일)
Youssef Mohamed Ahmed Mahmoud Abo El Ezz
댓글: Jan 2022년 3월 28일
How do I graph a vector(y) with one variable x and also specify a certain domain for x ex:
  댓글 수: 4
Youssef Mohamed Ahmed Mahmoud Abo El Ezz
@Jan i is the unit vector in the direction of the x-axis and j is the unit vector in the direction of the y-axis
Jan
Jan 2022년 3월 28일
@Youssef Mohamed Ahmed Mahmoud Abo El Ezz: You have removed the contents of the question after an answer has been given. This is considered to be impolite in this forum, because it does not respect the time and effort of the persons who help you.

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

답변 (1개)

Torsten
Torsten 2022년 3월 26일
편집: Torsten 2022년 3월 26일
t = 0:0.1:10;
y = t.^3/3 - t + 4;
z = 9/2*t.^2 + 9;
figure(1)
plot3(y,z,t)
%or
figure(2)
quiver(t,zeros(1,numel(t)),y,z,0)

카테고리

Help CenterFile Exchange에서 2-D and 3-D Plots에 대해 자세히 알아보기

제품


릴리스

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by