Monte Carlo simulation with ending value
Hi, I want to simulate a GARCH Monte Carlo simulation due to simulate the evolution of certain asset and I would like to force the simulation in order to the last price will end in certain price (or in...
View ArticlePID controller driven PMDC motor modeling
Dear users, I am trying to model a PID controller driven PMDC motor. In that the gain values are tuned using PSO algorithm and its a tri-loop error driven. I am facing a problem of connecting the PID...
View ArticleRe: Function to calculate radius from three points
ellieandrogerxyzzy@mindspring.com.invalid (Roger Stafford) wrote in message <ellieandrogerxyzzy-1407060942560001@dialup-4.232.6.49.dial1.losangeles1.level3.net>...> In article...
View Articlehow to adjust the height of colorbar
May I ask how to be adjust the height of colorbar to be approximately of the same size as the main plot (sphere is my example)? Furthermore, I'd like to reduce the spacing of between the main figure...
View Articlediff eq
I am trying to use ode45 to to solve a system of first order linear diff eq They are a set of 4 diff eq X'=AX where X' is a 4x1 column matrix of dx_i/dt where i= 1,2,3 or 4 A is 4x4 matrix of time...
View ArticleRepeated calls to mxCreateDoubleMatrix
Dear All, I have developed a mex file that makes repeated calls to mxCreateDoubleMatrix and unfortunately when debugging using Visual Studio a crash occurs at the call to mxCreateDoubleMatrix. I have...
View ArticleRe: response time uncertainities
On 4/5/2013 10:51 PM, RaVe wrote: ...> I'd like to know if someone can explain how those incertainities are> dealt with Matlab only or by Matlab + PTB if anyone use it, how to> determine those...
View ArticleRe: Issues with bndyield function
On 4/5/2013 12:44 PM, Pooja wrote:> I'm using the bndyield function to calculate the real yield on an> Australian inflation-linked security.> bndyield(179.968, 0.04,>...
View ArticleRe: strjoin not working
On 4/5/2013 3:26 AM, Juha Kiviluoma wrote:> Thanks for the suggestions. I got my code working. Good...wasn't sure which was the desired result; the words as example text made me combine w/ blank...
View ArticleRe: Numerical Laplace transform
"Sas" wrote in message <kjk6qr$4c$1@newscl01ah.mathworks.com>...> "Josh Meyer" <jmeyer@mathworks.com> wrote in message <kjjteg$qk8$1@newscl01ah.mathworks.com>...> > > >...
View Articleproblem with matrix
I have a zero matrix with 100 collumns. I save there ploting signal from infinity loop. i want save only last 100 collumns..Start running plot and save data to matrix. When the matrix is filled delete...
View ArticleRe: problem with matrix
On 4/8/2013 8:22 AM, zack00 wrote:> I have a zero matrix with 100 collumns. I save there ploting signal from infinity loop.> i want save only last 100 collumns..Start running plot and save data...
View ArticleRe: Matrix
On 4/8/2013 6:30 AM, Muhammad wrote:> Dear all> I have a matrix I got from the loop;>> for 1:1000> peakLoc=peakfinder(h1(:,i))> peak(:,i)=peakLoc(:,1)> end>> I got error...
View ArticleRe: problem with matrix
dpb <none@non.net> wrote in message <kjuger$mqe$1@speranza.aioe.org>...> On 4/8/2013 8:22 AM, zack00 wrote:> > Probably better than actually shifting columns would be to simply...
View ArticleRe: Binary Logistic Regression
The glmfit function wants to operate on columns. Make sure x1,x2,x3,y are all column vectors, and then xfull will be a three-column matrix. The second argument to chi2cdf in this example is a 3 because...
View ArticleRe: starting from certain ceed of random number in different scripts
Ahmed, you are correct in observing that randn('state',200) is no longer recommended. Let me make a couple of comments about your other questions: 1) The second and third lines here >...
View ArticleRe: Multiobjective optimization - gamultiobj - feasible point
Alan_Weiss <aweiss@mathworks.com> wrote in message > ga and gamultiobj attempt to find initial feasible points by, among > other techniques, solving a linear program. If they say that there...
View ArticleRe: problem with matrix
Dňa pondelok, 8. apríla 2013 15:44:12 UTC+2 Bruno Luong napísal(-a):> dpb <none@non.net> wrote in message <kjuger$mqe$1@speranza.aioe.org>...> > > On 4/8/2013 8:22 AM, zack00...
View ArticleRe: Multiobjective optimization - gamultiobj - feasible point
"Gabboc" wrote in message <kjujbi$hdm$1@newscl01ah.mathworks.com>...> Alan_Weiss <aweiss@mathworks.com> wrote in message > > ga and gamultiobj attempt to find initial feasible...
View ArticleRe: problem with matrix
On 4/8/2013 8:44 AM, Bruno Luong wrote:> dpb <none@non.net> wrote in message <kjuger$mqe$1@speranza.aioe.org>...>> On 4/8/2013 8:22 AM, zack00 wrote:>>>>> Probably...
View Article