help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: constructing a matrix from a vector


From: Jordi Gutiérrez Hermoso
Subject: Re: constructing a matrix from a vector
Date: Tue, 18 Oct 2011 23:45:48 -0500

On 18 October 2011 23:02, ishi soichi <address@hidden> wrote:
> say, we have a vector,
> (1 2 3)
> Can we construct a matrix like
>
> 1 2 3
> 1 2 3
> 1 2 3
> 1 2 3
> ?

Why do you want such a matrix? Note that there is usually a better
solution than using repmat. What's the larger context? Is this for the
machine learning class? ;-)

- Jordi G. H.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]