Professional Interests: finance
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...
Answered 1 year ago
% syms x y
f= eucara( p,r,dd,edw,[x;y])
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...
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 ...
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...
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...
I have a function which is not smooth. But there is a global minimum roughly. The following photos show the sha...
Asked 11 months ago
I am trying to find out the answers for
I am using fmincon to do optmization. Could you tell me how to look at and store the intermediate result when fmi...
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 ...
2 years ago
Dear fellows, I am calulating the log likelihood of bivariate normal distribution using the the buillt in function mvncdf. But ...
2 years ago
Do you understand how does fmincon work exactly? I can not find a documentation in the HELP. It seems they are al...
Asked 1 year ago
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...
I have two variables function f(c1,c2) and I would like to randomly generates c1 and c2 with the constraints that
I have a matrix called tt (50*40) and I need to read two columns from it each time. And this is my code
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...
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...
I am using fmincon to do the optimization problem. But every time I run it it gives me different result. Is there...
Do you have any idea how to turn a set of results which are decimal numbers to integers?
Could you help me with clarify this mystery please? I am using the following code to find the maximum value and its...
Asked 4 months ago
I am using the following code to get Hessian for a three parameter function. It should be a 3*3 matrix. But instead...
Asked 5 months ago
Do you know how to write the cdf of dirichlet distribution? I could write the pdf but do not know how to formul...
Asked 10 months ago
I would like to calculate the probability mass function for the generalize binomial distribution. Basically I j...
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...
I am trying to improve a program which runs very slowly. As there are a lot of nested functions, I need to find...
Join the conversation