How do I graph a vector(y) with one variable x and also specify a certain domain for x ex:

4 Kommentare

Jan
Jan am 26 Mär. 2022
What are i and j?
Torsten
Torsten am 26 Mär. 2022
Bearbeitet: Torsten am 26 Mär. 2022
i = [1 , 0],
j = [0 , 1]
@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 am 28 Mär. 2022
@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.

Melden Sie sich an, um zu kommentieren.

Antworten (1)

Torsten
Torsten am 26 Mär. 2022
Bearbeitet: Torsten am 26 Mär. 2022

0 Stimmen

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)

Kategorien

Mehr zu 2-D and 3-D Plots finden Sie in Hilfe-Center und File Exchange

Produkte

Version

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by