1. Plot the vector field F(x, y) = 0.2(2x + y)₁ +0.2(x - 2y)ĵ using the same 2D meshgrid as above. Make sure you use the single figure command before plotting. Assign the result from the quiver command to q1.

Algebra & Trigonometry with Analytic Geometry
13th Edition
ISBN:9781133382119
Author:Swokowski
Publisher:Swokowski
Chapter3: Functions And Graphs
Section3.3: Lines
Problem 27E
icon
Related questions
Question

Can you help me with my code?

syms x
[x,y] = meshgrid([-5:1:5,-5:1:5]);
q1=quiver(x,y,0.2.*((2.*x)+y), 0.2.*(x-(2.*y)),0)
1. Plot the vector field F(x, y) = 0.2(2x + y)₁ +0.2(x - 2y)ĵ using the same 2D meshgrid as above. Make sure you use the single figure command before
plotting. Assign the result from the quiver command to q1.
Transcribed Image Text:1. Plot the vector field F(x, y) = 0.2(2x + y)₁ +0.2(x - 2y)ĵ using the same 2D meshgrid as above. Make sure you use the single figure command before plotting. Assign the result from the quiver command to q1.
Expert Solution
steps

Step by step

Solved in 2 steps

Blurred answer
Recommended textbooks for you
Algebra & Trigonometry with Analytic Geometry
Algebra & Trigonometry with Analytic Geometry
Algebra
ISBN:
9781133382119
Author:
Swokowski
Publisher:
Cengage
Elementary Linear Algebra (MindTap Course List)
Elementary Linear Algebra (MindTap Course List)
Algebra
ISBN:
9781305658004
Author:
Ron Larson
Publisher:
Cengage Learning