![photo](/responsive_image/150/150/0/0/0/cache/matlabcentral/profiles/3536192_1522096572878_DEF.jpg)
xueqi
The University of York
Followers: 0 Following: 0
optimisation, algorithmic trading
Statistiques
RANG
21 504
of 293 469
RÉPUTATION
1
CONTRIBUTIONS
68 Questions
5 Réponses
ACCEPTATION DE VOS RÉPONSES
52.94%
VOTES REÇUS
1
RANG
of 20 032
RÉPUTATION
N/A
CLASSEMENT MOYEN
0.00
CONTRIBUTIONS
0 Fichier
TÉLÉCHARGEMENTS
0
ALL TIME TÉLÉCHARGEMENTS
0
RANG
of 148 733
CONTRIBUTIONS
0 Problèmes
0 Solutions
SCORE
0
NOMBRE DE BADGES
0
CONTRIBUTIONS
0 Publications
CONTRIBUTIONS
0 Public Chaîne
CLASSEMENT MOYEN
CONTRIBUTIONS
0 Point fort
NOMBRE MOYEN DE LIKES
Feeds
Question
read the size of cell array with the same element
Hi I have a cell array looks like follows. How could I read the size of the cell array has the same element? In this case, I hav...
plus de 7 ans il y a | 3 réponses | 0
3
réponsesQuestion
how to define a matrx type that each of its element is a matrix as well
Hi, could you help me to achieve the following goal? I would like to define such a matrix, say M=[E1,E2,E3;E4,E5,E6]. And for ea...
plus de 7 ans il y a | 2 réponses | 0
2
réponsesQuestion
solve for stochastic partial differential equation dS(t)=sigma(S(t))dW(t), S(t)=0 by un-Monte Carlo
Hi Is anyone have some experience of dealing with the follow: dS(t)=sigma(S(t))dW(t) S(t)=s0 where sigma could be any functio...
environ 8 ans il y a | 1 réponse | 0
0
réponseQuestion
fminsearch returns Not enough input arguments.
Hi I have defined a function objfun as follows. % function z = objfun(x) z=x(1)^2+x(2)^2; end T...
plus de 8 ans il y a | 1 réponse | 0
1
réponseQuestion
what is the format of date variable imported from excel
Hi, I have imported two excels with first column as date and second column as numbers. Then I need to do some manipulation with ...
environ 9 ans il y a | 1 réponse | 0
1
réponseQuestion
How does max choose the answers when there are two identical values in a vector
Dear All, Could you help me with clarify this mystery please? I am using the following code to find the maximum value and its...
plus de 9 ans il y a | 1 réponse | 0
1
réponseQuestion
How to calculate the second derivative of an unanalytically function
Dear All, I use fmincon to optimize my likelihood function _f_ (there are four parameters in _f_ . And it is not in an analy...
plus de 9 ans il y a | 1 réponse | 0
1
réponseQuestion
Hessian only returns vector instead of matrix in fmincon
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...
plus de 9 ans il y a | 1 réponse | 0
1
réponseQuestion
patternsearch returns result violates equality constraint
Dear All, I am using patternsearch to do my optimization problem. I find the results sometimes violate the equality constrain...
presque 10 ans il y a | 1 réponse | 0
1
réponseQuestion
how to write the code to smooth a function and then minimize it
Dear fellows, I am a little confused with how to use the function smooth in matlab. At the moment I have a function f(x), her...
environ 10 ans il y a | 1 réponse | 0
1
réponseQuestion
how to optimize a function ( 6 independent variables) which is not smooth but has rough minimum point
Dear fellows, I have asked this question before in a previous post http://www.mathworks.co.uk/matlabcentral/answers/129592-...
environ 10 ans il y a | 1 réponse | 0
0
réponseQuestion
How to calculate the dirichlet cdf
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...
environ 10 ans il y a | 1 réponse | 0
1
réponseQuestion
how to cope with big numbers out of the capability of matlab
Dear Fellows, I would like to calculate the probability mass function for the generalize binomial distribution. Basically I j...
plus de 10 ans il y a | 1 réponse | 0
1
réponseQuestion
how to optimize a function which is no smooth but has rough minimum point
Dear fellows, I have a function which is not smooth. But there is a global minimum roughly. The following photos show the sha...
plus de 10 ans il y a | 3 réponses | 0
3
réponsesQuestion
how to efficiently update one element in a matrix conditioned on another element
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...
plus de 10 ans il y a | 1 réponse | 0
1
réponseQuestion
how does fmincon deal with inequality linear constraint
Hi, I would like to ask how does fmincon deal with inequality linear constraint A*x<=1. I have a objective function f(p1,p...
plus de 10 ans il y a | 1 réponse | 0
1
réponseQuestion
why does fmincon fain to converge when I just change the constraints
Hi guys, I have a question about how does fmincon work with constraints. Basically I have a function f(p1,p2,p3) that I want...
plus de 10 ans il y a | 1 réponse | 0
1
réponseQuestion
Vectorizing code ( calling a function with input as a matrix ) fails
Hi, I have a function if true % function f=eu(c,theta, alpha, beta,P,D ) end Then input c is a 1*2 matrix. No...
plus de 10 ans il y a | 1 réponse | 0
0
réponseQuestion
understand how fmincon works through an example
Dear All, In my research I used fmincon a lot and I have been trying to understand how it works for a long time. Due to the l...
plus de 10 ans il y a | 1 réponse | 0
0
réponseQuestion
how does fmincon work
Hi fellows, Do you understand how does fmincon work exactly? I can not find a documentation in the HELP. It seems they are al...
plus de 10 ans il y a | 2 réponses | 0
2
réponsesQuestion
how to find the value fmincon is trying
Hi fellows, I am using fmincon to find the minimum of function f. Sometimes it gets a value of f is NaN , so fmincon fails to...
plus de 10 ans il y a | 1 réponse | 0
1
réponseQuestion
fill areas of different shapes
Hi, I am trying to fill areas of different shapes as shown in the image below, but I can not find any functions doing that. "are...
presque 11 ans il y a | 1 réponse | 0
0
réponseQuestion
how to write the expression properly to plot use mesh
Dear Fellows, I am trying to plot a 3d figure. I don't quite understand how to write the expression for the function in this ...
presque 11 ans il y a | 1 réponse | 0
0
réponseQuestion
How to test the times cost of each part in a program
Dear Fellows, I am trying to improve a program which runs very slowly. As there are a lot of nested functions, I need to find...
presque 11 ans il y a | 1 réponse | 0
1
réponseQuestion
find the root of a function in an interval
Hi fellows, I would like to solve an expontential function f in an interval, say, [0,e]. I try to use _solve_ but it is very...
presque 11 ans il y a | 1 réponse | 0
0
réponseQuestion
matrix transformation to make the values of second row to be lower to higher
Hi fellows, I have a matrix D=[p1,p1,p3;d1,d2,d3]. Now I want change the column orderings such that the second row of D is or...
presque 11 ans il y a | 1 réponse | 0
1
réponseQuestion
how to plot a 3d function (with two independent variables)
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...
presque 11 ans il y a | 2 réponses | 0
2
réponsesQuestion
why the ticks on axis dispear on one side?
Hi fellows, I am trying to do some pretty plots. But some how the ticks on the axis showing on both sides <<http://img4.im...
environ 11 ans il y a | 1 réponse | 0
1
réponseQuestion
where is wrong with texlable
Hi, I am using this code if true % xlabel(texlabel('mu1','literal')) end and hope that the string'mu' turns in...
environ 11 ans il y a | 1 réponse | 0
1
réponseQuestion
nonsingularity condition for matrix
Hi, Assume A, B, C are 1*3 vectors and P is a 3*1 vector. For the positive definite condition of the matrix[AP,CP;CP,BP] this...
environ 11 ans il y a | 1 réponse | 0