Problem using repmat function

This forum is closed. You can read the posts but cannot write. We have migrated the forum to a new location where you will have to reset your password.
Forum rules
This forum is closed. You can read the posts but cannot write. We have migrated the forum to a new location (https://forum.dynare.org) where you will have to reset your password.

Problem using repmat function

Postby chaim » Wed May 13, 2015 3:46 am

I'm trying to replicate my original data by replacing my datafile with the following code:

y=[y1
y2
.
.
.];



y=repmat(y,10,1);


it should work. Can't understand why I am getting error messages.
chaim
 
Posts: 5
Joined: Wed May 13, 2015 3:41 am

Re: Problem using repmat function

Postby jpfeifer » Wed May 13, 2015 8:25 am

As always, provide precise error messages and/or the files to replicate the problem.
------------
Johannes Pfeifer
University of Cologne
https://sites.google.com/site/pfeiferecon/
jpfeifer
 
Posts: 6940
Joined: Sun Feb 21, 2010 4:02 pm
Location: Cologne, Germany


Return to Dynare help

Who is online

Users browsing this forum: Google [Bot] and 6 guests