Community Profile

photo

Lin LI


Active since 2011

Statistics

  • Thankful Level 3

View badges

Content Feed

View by

Question


why do lsqnonlin and fmincon give different optimization results when solving a set of nonlinear equations?
I tried to solve a set of nonlinear equations using lsqnonlin and fmincon. All the input parameters (including initial values) a...

11 years ago | 1 answer | 0

1

answer

Question


why does the fist code give me warning while the second code works well?
why does the fist code tells me minimum step size reached, while the second one give me no warnings? Thank you very much for you...

11 years ago | 1 answer | 0

1

answer

Question


what is the reliable way to solve a set of nonlinear implict equations without using Jocabian ?
I have a nolinear problem ,which is to solve a set of nonlinear implict equations.It is impossible to get the Jocabian of the ...

11 years ago | 0 answers | 0

0

answers

Question


one case can not be initiatated when plotting using switch-case
when running the following code, case n=0.6 can not be implemented. for n=0.2:0.2:0.8 switch n case...

12 years ago | 1 answer | 0

1

answer

Question


fzero problem when doing integration using quadl.
1. I am trying to do an integration using quadl, so I need to define an inline function first. But this inline function is som...

12 years ago | 1 answer | 0

1

answer

Question


why and when does a warning "Minimum step size reached; singularity possible." appear when using the function quad?
why and when does a warning "Minimum step size reached; singularity possible." appear when using the function quad? can anyb...

12 years ago | 0 answers | 0

0

answers

Question


Can I trust the quad integration results with a warning of "minimum step size reached"?
I have two different codes to calculate the integration. The first one uses int, the second one uses quad. The first one is ca...

12 years ago | 2 answers | 0

2

answers

Question


A never used variable's index out of bounds! From the function quadl? weird, dont know why.
I run this code and it gave me error message, and it seems that this problem comes from the function quadl, because the variable...

12 years ago | 1 answer | 0

1

answer

Question


can anybody give me a example showing how to avoid division by 0 by using try-catch?
can anybody give me a example showing how to avoid division by 0 by using try-catch? thank you very much!

12 years ago | 2 answers | 0

2

answers

Question


why does matlab report "??? Index exceeds matrix dimensions"?
I have worked on my problem for a long time,but I could not find why matlab report "??? Index exceeds matrix dimensions". Can ...

12 years ago | 1 answer | 0

1

answer

Question


how to avoid dividing by zeros.
i run a code but it gave me warnings that Warning that dividing by zero and index exceeding matrix dimensions. I looked into it ...

12 years ago | 3 answers | 0

3

answers

Question


what functions can be used to do a non-scalar limits of integration?
I want to do an integration with non scalar limits of integration, quad and int seem not working,because Bl and Br are vectors. ...

12 years ago | 1 answer | 0

1

answer

Question


how can i transfer a variable's value from one function to another?
I want to transfer ther value of Protrusion(i) from function G_yi to function sumin, in other words, I want to use the value of...

12 years ago | 2 answers | 0

2

answers

Answered
why does matlab give me a message that a never-used varible is undefined?
I have changed the int to quad, so that the computing velocity increased a lot . I have solved this problem ,thank you !

12 years ago | 0

Question


why does matlab give me a message that a never-used varible is undefined?
The first part is the main M file, the second part is a function M file. When it is run, a message "Undefined function or method...

12 years ago | 2 answers | 0

2

answers