plot the vector of two directions
2 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
clc
clear all
syms x y
F=input( 'enter the vector as i, and j order in vector form:');
P = inline(vectorize(F(1)), 'x', 'y');
Q = inline(vectorize(F(2)), 'x', 'y');
x = linspace(-1, 1, 10);
y = x;
[X,Y] = meshgrid(x,y);
U = P(X,Y);
V = Q(X,Y);
quiver(X,Y,U,V,1)
axis on
xlabel('x')
ylabel('y')
1 commentaire
Image Analyst
le 8 Jan 2022
Modifié(e) : Image Analyst
le 8 Jan 2022
This is an announcement (or a command/order to us). Do you have a question?
Réponses (1)
Voir également
Catégories
En savoir plus sur Matrix Indexing dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!