Solved

Select every other element of a vector

Write a function which returns every other element of the vector passed in. That is, it returns the all odd-numbered elements, s...

6 meses ago

Solved

Nearest Numbers

Given a row vector of numbers, find the indices of the two nearest numbers. Examples: [index1 index2] = nearestNumbers([2 5 3...

6 meses ago

Answered

skewness and kurtosis of a weighted distribution

The function is developed in Matlab now, Kurtosis - MATLAB kurtosis (mathworks.com), one must check this link Kurtosis - MATLAB...

skewness and kurtosis of a weighted distribution

The function is developed in Matlab now, Kurtosis - MATLAB kurtosis (mathworks.com), one must check this link Kurtosis - MATLAB...

6 meses ago | 0

Answered

unable to select data-points in a plot

[FDT,ROL] = rmoutliers(y); OL = y(ROL) % this would be your detected outliers in your dataset (dependent variable)

unable to select data-points in a plot

[FDT,ROL] = rmoutliers(y); OL = y(ROL) % this would be your detected outliers in your dataset (dependent variable)

6 meses ago | 0

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...

7 meses 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...

7 meses 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- ...

7 meses 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...

7 meses 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...

7 meses 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) ...

7 meses 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...

7 meses 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

8 meses ago | 2 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...

8 meses ago | 1 download |

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...

8 meses 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 ...

8 meses 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, ...

8 meses 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...

8 meses 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 ...

8 meses ago

Solved

Determine Whether an array is empty

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

8 meses ago

Solved

Get the length of a given vector

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

8 meses 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. ...

8 meses ago

Solved

Rotate a Matrix

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

8 meses 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 ...

8 meses 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...

8 meses 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...

8 meses ago