Mathematica 9 is now available
Student Support Forum
-----
Student Support Forum: '2-D vector from 2 1-D vectors' topicStudent Support Forum > General > "2-D vector from 2 1-D vectors"

< Previous Comment | Next Comment >Help | Reply To Comment | Reply To Topic
Author Comment/Response
Aaron Honecker
09/16/00 08:37am

>How do you make a two dimensional vector from two one dimensional vectors. Say vector A ={x1,...,xn} and B = {y1,...,yn} and I want to make a vector C = {[x1,y1],...,[xn,yn]}. Any help would be greatly appreciated.

One of the easiest ways is
C = Transpose[{A,B}]


URL: ,

Subject (listing for '2-D vector from 2 1-D vectors')
Author Date Posted
2-D vector from 2 1-D vectors Mike Alessi 09/15/00 09:05am
Re: 2-D vector from 2 1-D vectors Aaron Honecker 09/16/00 08:37am
Re: 2-D vector from 2 1-D vectors John Leko 09/16/00 08:38am
< Previous Comment | Next Comment >Help | Reply To Comment | Reply To Topic