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

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

2 days 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, ...

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

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

3 days ago

Solved

Determine Whether an array is empty

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

3 days ago

Solved

Get the length of a given vector

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

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

3 days ago

Solved

Rotate a Matrix

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

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

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

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

3 days 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,...

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

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

3 days ago | 0

Answered

Concatenate 3-D matrix in a for loop

With an example, I would like to answer this. Suppose, "a" is the given 3D Matrix and "b" is the 2D matrix returns the concaten...

Concatenate 3-D matrix in a for loop

With an example, I would like to answer this. Suppose, "a" is the given 3D Matrix and "b" is the 2D matrix returns the concaten...

4 days ago | 0

Answered

how can i use for loop for this script

As per your given expression in the question, the assumptions of the constants here taken as 1, The running code is, roh = 1;...

how can i use for loop for this script

As per your given expression in the question, the assumptions of the constants here taken as 1, The running code is, roh = 1;...

4 days ago | 0

| accepted

Answered

how can i use for loop for this script

k_j(b) =(-1)^(j(b)/2)*([sqrt(alpa+(-1)^j(b))*sqrt((alpa)^2+4*beta)/2]); Provide the original formula in a text or written manne...

how can i use for loop for this script

k_j(b) =(-1)^(j(b)/2)*([sqrt(alpa+(-1)^j(b))*sqrt((alpa)^2+4*beta)/2]); Provide the original formula in a text or written manne...

4 days ago | 0

Solved

Make one big string out of two smaller strings

If you have two small strings, like 'a' and 'b', return them put together like 'ab'. 'a' and 'b' => 'ab' For extra ...

6 days ago

Solved

What's Your BMI?

Find the body mass index. For reference, please refer to Wikipedia here: <http://en.wikipedia.org/wiki/Body_mass_index body ...

6 days ago

Solved

What percentage?

Calculate the output c as the percentage of a on b for given a and b.

6 days ago

Solved

Matrix to column conversion

Given a matrix of any size, convert it into a column vector. e.g A=[10 20 30; 40 50 60] then, B = [10; 40; ...

6 days ago

Solved

Check if equal

Return true if all the elements of an nD array are equal, false otherwise.

6 days ago

Solved

Create an index-powered vector

Given a input vector x, return y as index-powered vector as shown below. Example x = [2 3 6 9] then y should be [...

6 days ago