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

12 years ago | 1 answer | 0

1

answer

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

12 years ago | 4 answers | 0

4

answers

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

12 years ago | 1 answer | 0

1

answer

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

12 years ago | 1 answer | 0

1

answer

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

12 years ago | 2 answers | 0

2

answers

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

12 years ago | 1 answer | 0

1

answer

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

12 years ago | 1 answer | 0

1

answer

Answered
why fmincon returns different results every time
Yeah I did have a rand()...This explains!

12 years ago | 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...

12 years ago | 2 answers | 0

2

answers

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?

12 years ago | 2 answers | 0

2

answers

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

12 years ago | 1 answer | 0

1

answer

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

12 years ago | 0 answers | 0

0

answers

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

12 years ago | 1 answer | 0

1

answer