MATLAB Answers

justin  Taylor
0

*PLOT FIELD VECTOR*

Asked by justin Taylor
on 19 Dec 2011

(sin(4*x+8*y),cos(4*x+8*y),0)

  16 Comments

Naz
on 19 Dec 2011

Can you edit your question and provide all information that is given to you as well as requirements?

OK !

You removed all the useful information from your question...

Tags

Products

No products are associated with this question.

1 Answer

Answer by Walter Roberson
on 21 Dec 2011
 Accepted answer

>> t = linspace(0,4*pi,100);
>> [x,y] = ndgrid(t,t);
>> u = sin(4*x+8*y);
>> v = cos(4*x+8*y);
>> quiver(x,y,u,v)

  4 Comments

I spend so much time working that I reserve my facebook account for communication that has nothing to do with work, such as chatting with my large number of cousins.

So we could be good friends!

Merry chistmat !


Join the 15-year community celebration.

Play games and win prizes!

Learn more
Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

MATLAB Academy

New to MATLAB?

Learn MATLAB today!