photo

Stanley Cheng


Active since 2013

Followers: 0   Following: 0

Message

Professional Interests: robotics

Statistics

  • Thankful Level 3

View badges

Feeds

View by

Question


differentiate a 7000*6 matrix with a 7000*1 vector
Hi dear, I am trying to differentiate a 7000*6 matrix with a 7000*1 vector. The details are: The size of the matrix A_disp...

9 years ago | 1 answer | 0

1

answer

Question


How to solve this equation in matlab?
Can anyone teach me how to solve this equation in Matlab? Thanks so much! syms a b c theta a*sin(theta) + b*cos(theta) = c...

9 years ago | 1 answer | 0

1

answer

Answered
can GA always find a smaller objective than SQP ?
Merry Xmas and happy new year! THX so much for both of your answers! You are both right, But in my project, I want to fin...

10 years ago | 0

Question


can GA always find a smaller objective than SQP ?
Hi everyone, These days I am using GA and SQP for optimization. It is very strange that the result from SQP is smaller ...

10 years ago | 2 answers | 0

2

answers

Answered
fmincon's nonlinear equality constraints cannot be met?
Dear pietro, I find the problem! in the constraint function and objective function, one redundant abs value was added by ...

10 years ago | 0

Question


fmincon's nonlinear equality constraints cannot be met?
Hi everyone, I am using fmincon for the optimization of the project. In the use, three nonlinear equality constraints exist,...

10 years ago | 2 answers | 0

2

answers

Question


the nonlinear equiality constraint in multi-objective genetic algorithm (MOGA)
Hi everyone, I am using the multi-objective genetic algorithm (MOGA) in the Global Optimization Toolbox in matlab 2013b for ...

10 years ago | 0 answers | 0

0

answers

Answered
how to maximize the two-norm of one vector?
Sorry A is a 2*3 non-rectangular matrix...

10 years ago | 0

Question


how to maximize the two-norm of one vector?
Hi everyone, I am trying to solve one equation: Ax=b where A is a 4*3 non-rectangular matrix, x is the 3*1 unknown vector ...

10 years ago | 2 answers | 0

2

answers

Question


fmincon for optimal solution
Hi everyone, I have a question about optimization as follows: the object is to maximize sum_F=(F(1)^2+F(2)^2+F(3)^2) Ho...

10 years ago | 1 answer | 0

1

answer

Answered
how to write the nonlinear constraints in fmincon
Hi George, First thx very much for your input! However, in the functions of F1~F6, there are other variables g, which ...

10 years ago | 0

Question


how to write the nonlinear constraints in fmincon
Hi everyone, I am using the fmincon in matlab to minimize the objective value as F=-(x(1)^2+x(2)^2+x(3)^2) . So the...

10 years ago | 2 answers | 0

2

answers

Question


what codes are needed to make the surface produced by surf have a unified color?
Hi everyone, I am using "surf" to produce a 3D surface. However, the color of it is changing with the value of Z in the surfa...

10 years ago | 0 answers | 0

0

answers

Question


why the first and second differential is not right after interpolation
Hi everyone, the following code shows that after an interpolation with time interval 0.01s, the first and second differential...

10 years ago | 1 answer | 0

1

answer

Question


how to span a 3*1 vector into a 3*3 skew symmetric matrix ?
Hi everyone, as the title, x=[a b c]' is a 3*1 vector, and its 3*3 skew symmetric matrix is X=[0 -c b ; c ...

10 years ago | 4 answers | 1

4

answers

Question


what algorithms are applied in the auto tuning of PID block in simulink?
Hi everyone, as the title, could anyone tell me about that? The auto tuning really offers a really good control performan...

10 years ago | 1 answer | 0

1

answer

Answered
how to set the stop time in the scope of simulink
yes, cool!

10 years ago | 0

Question


how to set the stop time in the scope of simulink
Hi everyone, I am using the scope in the simulink to show the time history of an variable. It lasts 30 seconds but shows only th...

10 years ago | 2 answers | 0

2

answers

Question


how to speed up the symbolic computation?
Hi everyone, I have written a code using symbolic computation. In it, first, 20 symbolic variables are defined, after obt...

11 years ago | 0 answers | 0

0

answers

Question


why get a symbolic result in the workspace ?
Hi everyone, I run a matlab code containing symbolic variables in it. When I use "subs" code to substitute all of the symbo...

11 years ago | 1 answer | 0

1

answer

Question


how to set rounded to 4 decimal places for a vector?
Hi everyone, I have a 12*1 vector and all the 12 elements are numerical values. But they have too many decimal places, but 4 ...

11 years ago | 2 answers | 0

2

answers

Question


why often it takes a very very long time to show the results by using findsym?
Hi everyone, these days I am using symbolic computation in Matlab. to substitute the symbol with numerical results, i need to...

11 years ago | 1 answer | 0

1

answer

Question


how to obtain the orthogonal vectors of one 3*1 unit vector?
Hi everyone, I have a 3*1 unit vector as r1= [ 0.6619 0.6976 -0.2740]', and want to obtain the other two unit orthogonal vec...

11 years ago | 2 answers | 0

2

answers

Answered
Warning of fmincon in algorithm options
I solved it! the option is defined but i forgot to call it ! Then opts1=optimset('MaxFunEvals',30000,'MaxIter',30000,'TolF...

11 years ago | 0

Question


Warning of fmincon in algorithm options
Hi everyone, These days i am using the fmincon function to get the value of four unknowns from three equations. the objective...

11 years ago | 2 answers | 0

2

answers

Question


how to add a constraint condition to fsolve?
Hi everyone, These days I want to solve a system of nonlinear equations with matlab. In the equations, there are all four unk...

11 years ago | 4 answers | 1

4

answers

Question


How to draw the 3-D figure in (a) with cubes
I have read a paper about robotics-- Hybrid head mechanism of the groundhog-like mine rescue robot. And I want to draw the 3...

11 years ago | 0 answers | 0

0

answers