help-octave
[
Top
][
All Lists
]
Advanced
[
Date Prev
][
Date Next
][
Thread Prev
][
Thread Next
][
Date Index
][
Thread Index
]
Combining Vectors
From
:
stn
Subject
:
Combining Vectors
Date
:
Mon, 18 Apr 2011 11:11:58 +0200
Hi,
is there a function that will combine two vectors so that the result has two columns and one row for each possible combination of the elements of the two vectors?
like this:
a = [1 ; 2 ; 3]
b = [4 ; 5 ; 6]
combined_vectors = [
1 4
1 5
1 6
2 4
2 5
2 6
3 4
3 5
3 6
]
THX
stn
reply via email to
[Prev in Thread]
Current Thread
[
Next in Thread
]
Combining Vectors
,
stn
<=
Re: Combining Vectors
,
GFotios
,
2011/04/18
Re: Combining Vectors
,
stn
,
2011/04/18
Re: Combining Vectors
,
John W. Eaton
,
2011/04/19
Prev by Date:
Re: Extracting random elements from an array
Next by Date:
Re: Combining Vectors
Previous by thread:
Extracting random elements from an array
Next by thread:
Re: Combining Vectors
Index(es):
Date
Thread