From: Rachit on
How to copy a 454X1 matrix to a 454X454 matrix

I want to copy the Column one matrix to all the other 453 columns..

Is there a way to do so?

Thanks,

Rac
From: Pavitra on

> I want to copy the Column one matrix to all the other 453 columns..
>
> Is there a way to do so?
>

doc repmat
From: student melaku fekadu on
if your matrix is x, then use the following
y=repmat(x,[1,453])

did it help u?
melaku

"Rachit " <racpsine(a)gmail.com> wrote in message <i2da8g$jav$1(a)fred.mathworks.com>...
> How to copy a 454X1 matrix to a 454X454 matrix
>
> I want to copy the Column one matrix to all the other 453 columns..
>
> Is there a way to do so?
>
> Thanks,
>
> Rac
From: student melaku fekadu on

sorry i meant 454

y=repmat(x,[1,454])


"Rachit " <racpsine(a)gmail.com> wrote in message <i2da8g$jav$1(a)fred.mathworks.com>...
> How to copy a 454X1 matrix to a 454X454 matrix
>
> I want to copy the Column one matrix to all the other 453 columns..
>
> Is there a way to do so?
>
> Thanks,
>
> Rac