Two Dimensional 2d Vector Field Defined Write Matlab Script Using Quiver Contour Commands Q30515932

There is a two dimensional (2D) vector field defined by

g(z, y) cos(0.1 * ? *x)art cos(0.1 * ? * y)dy

Write a MATLAB script using the quiver and contour commands tovisualize the field and its divergence. Assume the region ofinterest to be -20-20leqslant xleqslant20 ,-40leqslant yleqslant 40.

Hint: Mesh the 2D space as

gx=-20:1:20;

gy=-40:1:40

[x,y]=meshgrid(gx,gy);

g(z, y) cos(0.1 * ? *x)art cos(0.1 * ? * y)dy Show transcribed image text

"We Offer Paper Writing Services on all Disciplines, Make an Order Now and we will be Glad to Help"
0 replies

Leave a Reply

Want to join the discussion?
Feel free to contribute!

Leave a Reply

Your email address will not be published.