Community Profile

Contact

Top 10% contributor

Hi Luisa, |TimeStep| has more of a _numerical_ meaning, although it might be interpreted as you describe, I think. If you ...

accepted

0

Answered 3 years ago

Kyle, I'm not sure I follow all the details, but you may want to try FSOLVE (n-dimensional), instead of FZERO (1-dimensional, s...

1293 views

Responded 5 years ago

11 downloads

5 years ago

Without looking into all the details, the Code Analyzer seems to be recommending that you indicate the nonzero patter from the s...

You need to create a sparse matrix directly. If you try to create a full matrix and then convert it to sparse, you'll run out of...

Maurizio, unfortunately, it's not possible to force the algorithm to take a step of a minimum length --by design, the algorithm ...

I see you were passing the right function. From your code, the only suspicious point is the last line of |mySimulat|. Is |diffe|...

It would be useful to see some code. From the description, though, you might be passing the wrong function to |lsqnonlin|. Sa...

I'm a little confused by "write a separate function such as g(x) { g=f(x,1,1);}". But I think a <http://www.mathworks.com/help/t...

The name of the toolbox changed in 2008b to Econometrics Toolbox. See release notes: <http://www.mathworks.com/help/toolbox/econ...

Laurent, Nelson-Siegel models are available off-the-shelf in the Fixed-Income Toolbox: http://www.mathworks.com/access/helpdes...

923 views