Answered

Numerical Analysis of Turbulent Flow over a Backward Facing Step

Follow this comment for initialization of the values, https://www.mathworks.com/matlabcentral/answers/649843-numerical-analysis...

Numerical Analysis of Turbulent Flow over a Backward Facing Step

Follow this comment for initialization of the values, https://www.mathworks.com/matlabcentral/answers/649843-numerical-analysis...

10 days ago | 0

Answered

Help with a CFD code

Follow these codes, 1- mathworks.com/matlabcentral/fileexchange/57064-lid-driven-cavity-flow 2- mathworks.com/matlabcentral/fi...

Help with a CFD code

Follow these codes, 1- mathworks.com/matlabcentral/fileexchange/57064-lid-driven-cavity-flow 2- mathworks.com/matlabcentral/fi...

10 days ago | 0

Answered

plot3, how to plot

"j == j" condition will return for every j. Instead include the same fot the for loop, there is no need of an if condition.

plot3, how to plot

"j == j" condition will return for every j. Instead include the same fot the for loop, there is no need of an if condition.

10 days ago | 0

Answered

Recommendations for book / tutorial on Probability & Statistics in MATALB

I am pretty sure, you are receiving the answer very lately, Still I would strongly recommend you to go through the courses, 1- ...

Recommendations for book / tutorial on Probability & Statistics in MATALB

I am pretty sure, you are receiving the answer very lately, Still I would strongly recommend you to go through the courses, 1- ...

10 days ago | 0

Question

How to solve a system of 3 or more ODEs having interdependent independent variables as independent variables of the dependent variable on the same derivative ?

Suppose, t1 = t2^2; dX/dt1 = z+4; dY/dt1 = 2*z+1; dX/dt2 = 2+3*z; dY/dt2 = 3+(z^2); (May be the question doesn't make any s...

10 days ago | 0 answers | 0

Answered

How can I cite MATLAB in my paper?

Suppose you want to cite a reference from MATLAB for example a mesh over space shuttle nose in a research article publication in...

How can I cite MATLAB in my paper?

Suppose you want to cite a reference from MATLAB for example a mesh over space shuttle nose in a research article publication in...

12 days ago | 0

Answered

i am confused with commands for loop

r = (randi([0 10],1,10))'; r0 = r == 0; if sum(r0) == 0 disp('Zero is not found') else for i = 1:length(r) ...

i am confused with commands for loop

r = (randi([0 10],1,10))'; r0 = r == 0; if sum(r0) == 0 disp('Zero is not found') else for i = 1:length(r) ...

12 days ago | 0

Answered

How to substitute x and y with X and Y respectively and get the same result as Test1(last line of my code)

Just before your major calculations (where you are willing to use the variables X & Y), you can add a line, x = X; y = Y; The...

How to substitute x and y with X and Y respectively and get the same result as Test1(last line of my code)

Just before your major calculations (where you are willing to use the variables X & Y), you can add a line, x = X; y = Y; The...

12 days ago | 0

Submitted

3D Mesh Over a Space Shuttle Nose to Capture Flow Around It

Bottom Clustering of Mesh is applied to capture the flow near to the surface of the shuttle's nose

1 month ago | 3 downloads |

Submitted

Circle to Any Polygon Conversion

Enter any value in place of "n" as the no. of sides of polygon, and enter the radius of circle. Code will circumscribe the circl...

1 month ago | 4 downloads |

Answered

How to plot with a reciprocal (1/x) scale

Supposing this example from the MATLAB previous codes, A = [0.5,0.65,0.7,0.66,0.81]; % The plotting function values B = [5,10...

How to plot with a reciprocal (1/x) scale

Supposing this example from the MATLAB previous codes, A = [0.5,0.65,0.7,0.66,0.81]; % The plotting function values B = [5,10...

1 month ago | 0

Answered

import data from word to MATLAB and save to other word file?

For Importing, refer, https://www.mathworks.com/matlabcentral/answers/348737-how-to-read-ms-word-file-doc-docx#answer_274150 ...

import data from word to MATLAB and save to other word file?

For Importing, refer, https://www.mathworks.com/matlabcentral/answers/348737-how-to-read-ms-word-file-doc-docx#answer_274150 ...

1 month ago | 0

Answered

Add titles to excel file columns

https://www.mathworks.com/matlabcentral/answers/467038-how-to-add-headers-to-excel#answer_379174 This link would work for you, ...

Add titles to excel file columns

https://www.mathworks.com/matlabcentral/answers/467038-how-to-add-headers-to-excel#answer_379174 This link would work for you, ...

1 month ago | 0

Solved

Reverse the Words (not letters) of a String

*Description* Change the words of a string such that the words appear in reverse order. You may assume that the string is a n...

1 month ago

Solved

First non-zero element in each column

For a given matrix, calculate the index of the first non-zero element in each column. Assuming a column with all elements zero ...

1 month ago

Solved

Determine Whether an array is empty

Input a matrix x, output y is TRUE if x is empty, otherwise FALSE.

1 month ago

Solved

Get the length of a given vector

Given a vector x, the output y should equal the length of x.

1 month ago

Solved

Return the Fibonacci Sequence

Write a code which returns the Fibonacci Sequence such that the largest value in the sequence is less than the input integer N. ...

1 month ago

Solved

Rotate a Matrix

Input a Matrix x, Output y is the matrix rotating x 90 degrees clockwise

1 month ago

Solved

Flip the vector from right to left

Flip the vector from right to left. Examples x=[1:5], then y=[5 4 3 2 1] x=[1 4 6], then y=[6 4 1]; Request not ...

1 month ago

Solved

Dimensions of a rectangle

The longer side of a rectangle is three times the length of the shorter side. If the length of the diagonal is x, find the width...

1 month ago

Solved

Swap the first and last columns

Flip the outermost columns of matrix A, so that the first column becomes the last and the last column becomes the first. All oth...

1 month ago

Solved

Check if number exists in vector

Return 1 if number _a_ exists in vector _b_ otherwise return 0. a = 3; b = [1,2,4]; Returns 0. a = 3; b = [1,...

2 months ago

Solved

Derivative of polynomial

Compute the derivative of a given polynomial. The input is an <http://www.mathworks.com/help/matlab/math/representing-polynomial...

2 months ago

Answered

how can i use for loop for this script

According to your given document, As per this formula, Your parameters in the code should be, alpha(b) = -((rho*w^2)/E)-((rho...

how can i use for loop for this script

According to your given document, As per this formula, Your parameters in the code should be, alpha(b) = -((rho*w^2)/E)-((rho...

2 months ago | 0