Question

Function handle with inputs

% When I input W(3) IN THE COMMAND LINE (without any input for ii), there is an output for W? % Why is that? m = 3; L = 10;...

2 months ago | 1 answer | 0

Question

Why Undefined operator '-' in function_handle?

When I enter ' H(3) ' in the command line, the following error is shown: Undefined operator '-' for input arguments of type 'fu...

2 months ago | 0 answers | 0

Question

Undefined operand in function_handle

When I enter ' H(3) ' in the command line, the following error is shown: Undefined operator '-' for input arguments of type 'fu...

2 months ago | 1 answer | 0

Question

How can I multiply an indexed vector by scalar?

I have a vector B_ j that is twice phi_i : and phi_i = @(ii, m) atan( d + (ii*d)./m) ; Why I can not write B_j = 2.*phi_i ? ...

2 months ago | 1 answer | 0

Question

How can I index this definite Summation notation?

i want to write the following formula in MATLAB in a concise code, giving anumerical output: For an arbitrarily chosen value ...

2 months ago | 1 answer | 0

Question

Indexing definite Summation notation

I want to input the formula below into MATLAB to ultimately commpute 'W': Can you please tell me if how can I correct my code...

2 months ago | 1 answer | 0

Question

Shifting row and column of a matrix with minimum and maximum to the top and right repectively?

For a matrix with dimensions greater than 4 X 4. How to move the row with minimum sum to the top and the column with maximum sum...

1 year ago | 2 answers | 0

Question

Given a 3 by 3 matrix or greater matrix. How to find the position of the matrix with minimum sum in the matrix

Given a 3 by 3 matrix, how to find the position of the row with minimum sum, by indexing

1 year ago | 2 answers | 0

Question

Shifting column of a matrix with maximum sum to the right?

After using a for loop to calculate the sum in each column of the matrix; how can I move the column with largest sum to the righ...

1 year ago | 2 answers | 0