Question

Why Matlab tells the following A*A^T matrix is not a positive Semi-definite Matrix ?

M = [ 1.0000 0 0 0 0 0;... 0 0.9803 -0.0000 -0.0000 -0.0984 0.0984;...

20 hours ago | 1 answer | 0

Question

Why matlab live editor and matlab script gives different rank calculation result for the same matrix ?

I suddenly found matlab is misundesrstanding this matrix and checked it with matlab live editor. Then, matlab live gives the...

2 days ago | 2 answers | 0

Solved

matrix zigzag

Unfold a 2-D matrix to a 1-D array in zig-zag order, e.g., for matrix [ 1 2 3 ; 4 5 6 ; 7 8 9 ] the resulting 1-...

24 days ago

Solved

Simple equation: Annual salary

Given an hourly wage, compute an annual salary by multiplying the wage times 40 and times 50, because salary = wage x 40 hours/w...

24 days ago

Question

Why is it so hard for MATLAB to solve the following symbolic equation

syms rp alpha beta theta psi z A=cos(alpha)-cos(beta); B=sin(alpha)-sin(beta); C=(cos(beta)-1)/tan(beta)-(cos(alpha)-1)/tan(a...

2 months ago | 1 answer | 0

Question

Solving trigonometric equation (decoupling)

I wanted to solve as a function of other variables Is is possible to decouple this equation ? Even matlab symbolic gave m...

2 months ago | 2 answers | 0

Question

Numerical integration RK4 for the given data

I have the angular veocity data shown below and wanted to apply , where. w Columns 1 through 9 5.0468 0.1049 -0....

2 months ago | 1 answer | 0

Question

Symbolic Derivative in matlab

Can matlab diffrentiate F with respect to , and only ?. Any help is apperciated

2 months ago | 1 answer | 0

Question

Output argument "St" (and maybe others) not assigned during call to "function ".

I got an error Output argument "St" (and maybe others) not assigned during call to "get_StCarretero". Error in InverseVeloc...

2 months ago | 0 answers | 0

Question

Evaluate gradient function in the for loop.

is a function dependent on time. It is n the function and need to be differentiated to get and the differentiation should pa...

2 months ago | 1 answer | 0

Question

Interpolating angle between -0.2 to 0.2 rad

Can anyone help for a valid interpolation of an angle from -0.2 to 0.2 to give 1001 points in between? SLERP is not doing this ...

2 months ago | 1 answer | 0

Question

Algorithm to extract linearly dependent columns in a matrix

Is there any general or standard approach to extract columns that are linearly dependent from the given matrix ? Thanks and an...

3 months ago | 3 answers | 0

Question

Interpolating the data given between -pi and pi

I have the following program and wanted to get the value between - and . But the program I made below only gives . Any help is ...

3 months ago | 1 answer | 0

Answered

xlswrite multidimensional array in one sheet.

This works, in any case if someone need it T=matrix ; for j=1:length(matrix) T(8*(j-1)+[1,dim(matrix)],:)=matrix(:,:,j) ...

xlswrite multidimensional array in one sheet.

This works, in any case if someone need it T=matrix ; for j=1:length(matrix) T(8*(j-1)+[1,dim(matrix)],:)=matrix(:,:,j) ...

5 months ago | 0

| accepted

Question

xlswrite multidimensional array in one sheet.

I tried to export 6 x 6 x 1000 matrix from matlab to exel. However, the xlswrite overwrite it. I used the following loop to ...

5 months ago | 2 answers | 0

Submitted

Four-bar-Linkage-simulation

This program is to solve inverse kinematics of four-bar linkage. Graphics simulation is included to see the solution on board.

5 months ago | 9 downloads |

Solved

Find the sum of all the numbers of the input vector

Find the sum of all the numbers of the input vector x. Examples: Input x = [1 2 3 5] Output y is 11 Input x ...

6 months ago

Submitted

Euler-angle-based-rotation-matrix

In this program the ZYX euler angle sequence is used to simulate a platform fixed at some constant height. The rotation is done ...

6 months ago | 7 downloads |

Question

quat2eul(quat) and dcm2Angle(R) difference for ZYX sequence

I've converted a quaternion to Euler angle using quat2eul(q,'ZYX') and a rotation matrix to Euler angle with function dcm2Angle(...

6 months ago | 2 answers | 0

Solved

Length of the hypotenuse

Given short sides of lengths a and b, calculate the length c of the hypotenuse of the right-angled triangle. <<http://upload....

6 months ago

Solved

Make the vector [1 2 3 4 5 6 7 8 9 10]

In MATLAB, you create a vector by enclosing the elements in square brackets like so: x = [1 2 3 4] Commas are optional, s...

6 months ago

Solved

Times 2 - START HERE

Try out this test problem first. Given the variable x as your input, multiply it by two and put the result in y. Examples:...

6 months ago

Question

Integrate 61 x 3 tabular data using Runge Kutta

I have a 61 x 3 velocity data and wanted to integrate using Rung Kutta integrator? I know how to integrate when I have a funct...

6 months ago | 2 answers | 0

Question

Subscript indices must either be real positive integers or logicals while k starts from 1 .

% I've fun_dquat called by another function RK4 as shown below. Error says, Subscript indices must either be real positive inte...

6 months ago | 1 answer | 0

Question

Is it possible to use variables stored in the workspace inside another function ?

Is it possible to use variables stored in the workspace inside another function ?

6 months ago | 1 answer | 0