Re: Error code
- From: "debashis dutta" <dutt.debashis@xxxxxxxxx>
- Date: Thu, 3 May 2007 01:09:00 -0400
Dear Martin ,
Next code I am going to write after adding those file in mat file is
R_Mat=[R_X R_Y R_Z];
size(R_Mat);
CovMat=cov(R_Mat);
This is primary for value at Risk modeling.But first line , i.e.
adding those 1 column matrix files, giving me the error code.
Regards,
Debashis
Martin Jørgensen wrote:
--------------------------------------------------------------------
Michael Wild wrote:
debashis dutta wrote:propose
Hi,
While combining three arrays with the command in matlab 7,
deb_Mat=[R_X R_Y R_Z];
I am getting this error
??? Error using ==> horzcat
CAT arguments dimensions are not consistent.
Could anyone please suggest how to resolve the same.
with best Regards,
Debashis
if the arrays do not have the same number of rows, how do you
they should be concatenated horizontally?
By filling in zeros in the bottom of the shorter matrixes?
How about using size() on all R-matrixes and perhaps make a
for-loop to
insert zeros?
Best regards
Martin Jørgensen
--
-------.
Home of Martin Jørgensen - <http://www.martinjoergensen.dk>
- Follow-Ups:
- Re: Error code
- From: Martin Jørgensen
- Re: Error code
- References:
- Error code "horzcat' - matlab 7
- From: debashis dutta
- Re: Error code "horzcat' - matlab 7
- From: Michael Wild
- Re: Error code "horzcat' - matlab 7
- From: Martin Jørgensen
- Error code "horzcat' - matlab 7
- Prev by Date: Re: Error code
- Next by Date: Re: Printing high quality jpegs in batch mode
- Previous by thread: Re: Error code "horzcat' - matlab 7
- Next by thread: Re: Error code
- Index(es):
Relevant Pages
|