Community Profile

Professional Interests: finance

Contact

Top 1% contributor

Add IF CONDITION BRKEAK END in the loop will do. Set the iteration to a really big number to make sure(with a really small proba...

accepted

0

Answered 2 years ago

if true % syms x y f= eucara( p,r,dd,edw,[x;y]) end

Dear fellows, Do you know how to write a code to check if are there any (Given that I don't know the numbers)elements are equ...

4 Answers

Asked 2 years ago

Hi guys, I am recently working on parameters estimation using Matlab and I really don't know where to start. Really appreciate ...

1577 views

Posted 3 years ago

Hi, I get rid of the exp(200) and now the result is quite promising!!Really help! Thanks!:) About the suspicious Maple result, i...

1572 views

Responded 3 years ago

Hi By mentioning analytical gradient...Do you suggest me to solve the function using first order condition?

Yeah Actually it is a bad model for this reason!! It took me a while to figure out this point! Now I am making some modification...

Hi All, I want to optimize a function using femincon. But the result shown is not right and changed with the initial point. Cou...

Dear fellows, I have a function which is not smooth. But there is a global minimum roughly. The following photos show the sha...

3 Answers

Asked 1 year ago

Dear Fellows, I am trying to find out the answers for if true % inv([1.4326e+21,8.5958e+21;0.2001,2.2005]) e...

Dear fellows, I am using fmincon to do optmization. Could you tell me how to look at and store the intermediate result when fmi...

Hi fellows, I have written a code to solve a expotinal function, matlab returns an answer which seems like contain imaginary ...

I am trying to calculate the cdf of a bivariate normal distribution. But the result sometime is 0, so the log of it is -Inf. I ...

1129 views

Responded 2 years ago

Dear fellows, I am calulating the log likelihood of bivariate normal distribution using the the buillt in function mvncdf. But ...

Posted 2 years ago

Hi fellows, Do you understand how does fmincon work exactly? I can not find a documentation in the HELP. It seems they are al...

2 Answers

Hi, I am trying to plot a 3d function,which contains two independent variables. I do not know is that I am not getting it rig...

Hi, I have two variables function f(c1,c2) and I would like to randomly generates c1 and c2 with the constraints that * M...

Hi fellows, I have a matrix called tt (50*40) and I need to read two columns from it each time. And this is my code if tr...

Hi fellows, Could you tell me how to plot 3d using coodinates? For example, I have the coordinates for one point is 0.2,0.3,04...

*This is the code. Could anyone run it and give me some suggestion about the error 'DOUBLE cannot convert the input expression i...

Hi, is anyone can give me some suggestion about optimization routine for function that is not smooth and also has a lot of local...

5 Answers

Hi, please have a look at a part of my code in the function maxmin0. The general idea is that I use solve to get the solution...

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

Asked 3 years ago

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

Hi, I have imported two excels with first column as date and second column as numbers. Then I need to do some manipulation with ...

1 Answers

Asked 1 month ago

Dear All, Could you help me with clarify this mystery please? I am using the following code to find the maximum value and its...

Asked 7 months ago

Dear All, I am using the following code to get Hessian for a three parameter function. It should be a 3*3 matrix. But instead...

Asked 8 months ago

Dear Fellows, Do you know how to write the cdf of dirichlet distribution? I could write the pdf but do not know how to formul...

Dear Fellows, I would like to calculate the probability mass function for the generalize binomial distribution. Basically I j...

Hi, Do you know how to do this? I have a matrix M=[2,3,2;-1,2,3]. I would like to check in any row, if there is a number is l...

Load more