Question


integrating function from -inf to +inf
I'm trying to integrate the following function from -inf to +inf with repsect to x. fun = @(x) -3.*v.^2 -4.*v.*a./((x.^2+a.^2)...

4 years ago | 1 answer | 0

1

answer

Question


contour plot of stream function for a tornado
I have a stream function for a tornado and I watned to plot it using contour function, but it's not working: m1=-3000; m2 = 58...

4 years ago | 1 answer | 0

1

answer

Question


plotting concentric circles using contour
I'm trying to plot a few concentric circles with the following codes, but what I get is an ellipse, i don't know why: [x,y] = m...

4 years ago | 1 answer | 0

1

answer

Question


I got a matrix dimensions error while plotting a pressure field
I got this error while trying to plot a pressure field. I have pressure P in terms of x and y: [X1,Y1] = meshgrid(0:0.01:3,0:0....

4 years ago | 1 answer | 0

1

answer

Question


Plotting a rankine half body
I'm trying to plot a rankine half body, a flow field formed by superposition of a horizontal uniform flow and a source flow. The...

4 years ago | 1 answer | 0

1

answer

Question


Converting values in eigenvector to rational forms that include square roots
I tried computing the eigen vectors and eigen values for a 3x3 matrix, but the result is given in fractions after I used format ...

4 years ago | 1 answer | 0

1

answer

Question


Problem with plotting vector fields
I keep getting this error while trying to plot a vector field: [X,Y] = meshgrid(2:10,2:10); U = X/(X^2+Y^2); V = Y/(X^2+Y^2);...

4 years ago | 1 answer | 0

1

answer