Community Profile

# DoVile Last Name:

### aarhus university

Active since 2012

Econ student
Professional Interests: Econometrics

#### Content Feed

View by

Question

how to mex this recursion
I am running a large program and a small function is taking up all the computing time, I havent been able to use the automatic c...

ungefär 7 år ago | 1 answer | 0

### 1

Question

retrieving data from structure
I am having a weird issue when trying to get data from a structure. I am using dir to get folder names into the variable Fold...

mer än 7 år ago | 1 answer | 0

### 1

Question

How to get GARCH parameters into a vector
My question is fairly simply but i havent been able to find a solultion, how do i automatically save my GARCH model parameter es...

nästan 11 år ago | 1 answer | 0

### 1

Finding durations between 1's in a matrix
In the end i decided on just using a double for loop with an if statement, if anyone comes up with something elegant that would ...

nästan 11 år ago | 0

| accepted

Question

Finding durations between 1's in a matrix
I am creating a matrix of ones I = binornd(1,a,T(j),n); What i need to find next is the durations between the 1 values f...

nästan 11 år ago | 2 answers | 0

### 2

Question

Datafeed problem - yahoo finance cant find stock ?
I am trying to get data on a bunch of danish stocks, fx. the Ap Moeller Maersk B stock. I am using the code C = yahoo; ...

nästan 11 år ago | 1 answer | 0

### 1

ungefär 11 år ago | 0

Question

I am messing around trying to learn how to call c++ code form matlab, specifically i am trying the code following this <http://w...

ungefär 11 år ago | 5 answers | 0

### 5

Question

using textscan to load numbers from txt file
I am using textscan tmp = textscan(fid,'%4f %q %f %f %f %f %f %f %f %f','treatAsEmpty', 'n/a'); to load data which look...

ungefär 11 år ago | 1 answer | 0

### 1

Question

textscan not working with double quotation marks
I am using textscan to read a .txt file into matlab but i am having some troubles. The data looks like (first two lines) ...

ungefär 11 år ago | 1 answer | 0

### 1

Question

from cell array to numeric vector
I have a 1x52 length cell array of years stored in MWDIData_years, i need to get these to be a nummeric vector. I am trying some...

ungefär 11 år ago | 2 answers | 1

### 2

Question

How can i create a standard matlab template for new programs
I like to have the same layout of my code every time i create a new program, at the moment i just copy and paste an .m file. But...

ungefär 11 år ago | 2 answers | 1

### 2

Question

Help vectorising for loop for kernel density
I am having a devil of a time figuring out how to vectorise the following for loopp dens = NaN(length(y),1); for i=1:l...

ungefär 11 år ago | 1 answer | 0

### 1

Question

What would you add to my Matlab cheat sheet ?
I am an econ/math masters student, but any suggestions are welcome I would prefer keeping the sheet on 1 page though. * ...

ungefär 11 år ago | 0 answers | 0

### 0

Question

Error using quad for nummerical integration
I am unable to understand why i cant use the quad function for nummerical integration.. tk = 1.5; Assymptotisk=@(x) sqr...

mer än 11 år ago | 1 answer | 0

### 1

fmincon, how does interior point restrict parameters
Thank you

mer än 11 år ago | 0

Question

fmincon, how does interior point restrict parameters
I used my own restriction transformation inside the function to allow fmincon to searh globally. However i ran into nummerical t...

mer än 11 år ago | 2 answers | 0

### 2

Question

Efficient allocation of random numbers(U(0,1)) into categories
I am trying to create a function which takes two arguments as input, one a vector of values drawn from a uniform distribution an...

mer än 11 år ago | 1 answer | 0

### 1

Question

Nicer output from simulations
I am taking a Monte-Carlo course and so i have some output, the homework is all done but i would like to make the end product a ...

mer än 11 år ago | 2 answers | 0

### 2

Question

Interior point maximization on non-smooth surface
I am estimating a state-space model using maximum likelihood, and i am also doing simulations. For the actual maximisation part ...

mer än 11 år ago | 0 answers | 0

### 0

How do i get nice .eps images into latex
Turns out all i needed to do was to go from tex->ps->pdf rather than tex->DVI->pdf Thanks for answers though guys! :)

mer än 11 år ago | 0

| accepted

Question

How do i get nice .eps images into latex
I of course know how to print a plotted image into a .eps file using file>SaveAs, however when i actually create the .pdf file i...

mer än 11 år ago | 4 answers | 0

### 4

adding year to plot using datetick
Thank you for your answer, it is the second case that is relevant. My data consists of 3081 observations, having loaded the year...

mer än 11 år ago | 0

| accepted

Question

adding year to plot using datetick
I have created a plot for a volatility measure, now i want to add the years of the measure to the x axis. I have the appropriate...

mer än 11 år ago | 2 answers | 0