photo

Stanley Cheng


Attivo dal 2013

Followers: 0   Following: 0

Messaggio

Professional Interests: robotics

Statistica

  • Thankful Level 3

Visualizza badge

Feeds

Visto da

Domanda


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

circa 9 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 9 anni fa | 1 risposta | 0

1

risposta

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

quasi 10 anni fa | 0

Domanda


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

quasi 10 anni fa | 2 risposte | 0

2

risposte

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

circa 10 anni fa | 0

Domanda


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

circa 10 anni fa | 2 risposte | 0

2

risposte

Domanda


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

circa 10 anni fa | 0 risposte | 0

0

risposte

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

circa 10 anni fa | 0

Domanda


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

circa 10 anni fa | 2 risposte | 0

2

risposte

Domanda


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

oltre 10 anni fa | 1 risposta | 0

1

risposta

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

oltre 10 anni fa | 0

Domanda


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

oltre 10 anni fa | 2 risposte | 0

2

risposte

Domanda


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

oltre 10 anni fa | 0 risposte | 0

0

risposte

Domanda


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

oltre 10 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 10 anni fa | 4 risposte | 1

4

risposte

Domanda


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

oltre 10 anni fa | 1 risposta | 0

1

risposta

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

oltre 10 anni fa | 0

Domanda


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

oltre 10 anni fa | 2 risposte | 0

2

risposte

Domanda


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

quasi 11 anni fa | 0 risposte | 0

0

risposte

Domanda


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

quasi 11 anni fa | 1 risposta | 0

1

risposta

Domanda


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

quasi 11 anni fa | 2 risposte | 0

2

risposte

Domanda


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

quasi 11 anni fa | 1 risposta | 0

1

risposta

Domanda


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

quasi 11 anni fa | 2 risposte | 0

2

risposte

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

quasi 11 anni fa | 0

Domanda


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

quasi 11 anni fa | 2 risposte | 0

2

risposte

Domanda


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

circa 11 anni fa | 4 risposte | 1

4

risposte

Domanda


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

oltre 11 anni fa | 0 risposte | 0

0

risposte