Question


matlab return the output of wrong function
Hi fellows, I have encounted a super weird situation. I will try to explain it clearly. I have defined several function, o...

presque 12 ans il y a | 1 réponse | 0

1

réponse

Question


solve return imaginary answer for a problem should have a real solution
Hi fellows, I have written a code to solve a expotinal function, matlab returns an answer which seems like contain imaginary ...

presque 12 ans il y a | 4 réponses | 0

4

réponses

Question


how to transfer a function parameters to small degree
Hi fellows, Somehow I get the function as below f4 = -0.0699999999999999928 exp(0.0139999999999999986 x) ...

presque 12 ans il y a | 1 réponse | 0

1

réponse

Question


solve return result as the form of syms
Hi fellows, I have written this code syms x y=solve(1+(2/3)*x^4+(3/4)*x^(-3),x) and then I got the result. But t...

presque 12 ans il y a | 1 réponse | 0

1

réponse

Question


surf doesnt work when plot 3d non continuous function
Hi fellows, I have wrote a function cara, as you seen nextly in the code that it is a non-continuous one. function...

presque 12 ans il y a | 2 réponses | 0

2

réponses

Question


wrong answer for solving function
Hi, I am using the code below so solve function syms x solve(1-x-x^0.3 == 0,x) and MATLAB gives me the answe...

presque 12 ans il y a | 1 réponse | 0

1

réponse

Question


how to improve the precision when using the cumulative density function
Dear fellows, I am calulating the log likelihood of bivariate normal distribution using the the buillt in function mvncdf. Bu...

environ 12 ans il y a | 1 réponse | 0

1

réponse

Réponse apportée
why fmincon returns different results every time
Yeah I did have a rand()...This explains!

environ 12 ans il y a | 0

Question


why fmincon returns different results every time
Hi fellows, I am using fmincon to do the optimization problem. But every time I run it it gives me different result. Is there...

environ 12 ans il y a | 2 réponses | 0

2

réponses

Question


how to turn decimal numbers to integers
Dear fellows, Do you have any idea how to turn a set of results which are decimal numbers to integers?

plus de 12 ans il y a | 2 réponses | 0

2

réponses

Question


how to let a function call another functions and then optimize it
I really need your help about my problem. It is a little complicated so I hope I can explain it well. Firstly, I have decfine ...

plus de 12 ans il y a | 1 réponse | 0

1

réponse

Question


inside function calling problem
*Hi dear all, could you give me some advice about my program? Here is my code* mu =@(r,lb1,lb2,lb3) ambportfchc(r,lb1,lb2...

plus de 12 ans il y a | 1 réponse | 0

0

réponse

Question


how can I call a function which get the answers numberically
Hi,dear all I have wrote a code for calculating the optimization problem numerically. Now I need to call it in another proble...

plus de 12 ans il y a | 1 réponse | 0

1

réponse