Community Profile

Shubham Maurya

Indian Institute of Space Science and Technology

Last seen: 1 year ago Active since 2014

Pursuing B.Tech Aerospace Engineering at Indian Institute of Space Science and Technology. Loves to solve CFD and FEM problems using MATLAB.

All

Content Feed

View by

How can I update my password for Mathworks account?

5 years ago | 0

can we run a matlab file without saving it?
Actually by default, the Matlab asks for saving the file or script with a name followed by .m extension. So, I don't think its p...

5 years ago | 0

| accepted

Code performance tremendously slower than before
Sometimes, removing the orange color warning in the script file makes execution faster. Try this if you have not.

5 years ago | 0

Displaying grid in Matlab animation window
I think adding this line would suffice grid on;

5 years ago | 0

Question

How to plot symbolic row matrix in MATLAB?
I have a row vector whose elements are all some arbitrary functions of x. How to plot this row vector on y-axis and index of ele...

6 years ago | 1 answer | 0

1

Question

How to improve performance of sparse matrix indexing in Matlab?
I have a big sparse matrix and it takes lot of time to execute the whole code.

6 years ago | 1 answer | 0

1

Question

Plotting stream function as filled contour surface?
I have a matrix with columns denoting 'theta' and rows denoting 'radial distance'. I want to obtain a plot of stream function co...

6 years ago | 0 answers | 0

0

Question

How to solve this ode?
E=200e9; syms x; A=10*(20-x); q=x; Boundary conditions u(0)= 0 and u'(x=l0)=100/(100*E)) <</matla...

6 years ago | 1 answer | 0

1

Question

How to use feval in this code. I am getting this error: Argument must contain a string or function_handle.
syms t g g= feval('f',((x(2)-x(1))*t+(x(1)+x(2)))/2) % g is now a function of t a=w1*feval(g,x1)+w2*feval(g,x2)+w3*feval(g,x...

6 years ago | 1 answer | 0

1

Question

How to initialize a row vector with value zero of size 1xn?
Say, I have a row vector A having n elements. I want to make all elements zero. * For e.g., in 2-d, we write A=zeros(n)

6 years ago | 1 answer | 0

1

Question

How to solve system of linear equations obtained from FEM in MATLAB?
Consider Ax=B where A is 4x4 and two values of x are known and 2 values of B are known. Then how to find other four unknowns?

6 years ago | 0 answers | 1

0

Question

Help with plotting contour.
r=-5:.2:5; [X,Y]=meshgrid(r,r); Z=30-2*X; pcolor(Z) This is the temperature distribution. Now I want to label each color in ...

6 years ago | 1 answer | 0

1

Question

How do I plot colored temperature distribution on a rectangular plate?
I have the data for temperature at every point and I want continuous colored plot corresponding to each temperature. Say, red fo...

6 years ago | 1 answer | 0

1

Question

How to solve this ODE? Urgent help!!
<</matlabcentral/answers/uploaded_files/15845/e.png>> Please explain step wise and also I want a plot of m vs. t t varies fr...

7 years ago | 1 answer | 0