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

To resolve issues starting MATLAB on Mac OS X 10.10 (Yosemite) visit: http://www.mathworks.com/matlabcentral/answers/159016

*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?

Walter Roberson on 19 Dec 2011

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

justin  Taylor

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

Walter Roberson on 22 Dec 2011

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.

justin Taylor on 22 Dec 2011

So we could be good friends!

justin Taylor on 24 Dec 2011

Merry chistmat !

Walter Roberson

Contact us