home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.soft-sys.matlab
- Path: sparky!uunet!think.com!sdd.hp.com!spool.mu.edu!news.nd.edu!control!jeff
- From: jeff@control.nd.edu (Jeffrey C. Kantor)
- Subject: Re: Combining vectors
- Message-ID: <1993Jan27.195604.10722@news.nd.edu>
- Sender: news@news.nd.edu (USENET News System)
- Reply-To: jeff@control.nd.edu
- Organization: University of Notre Dame
- References: <1k67atINNb9p@nyquist.usc.edu>
- Date: Wed, 27 Jan 1993 19:56:04 GMT
- Lines: 24
-
- In article 1k67atINNb9p@nyquist.usc.edu, wang@nyquist.usc.edu (Weizheng Wang) writes:
- >In article <1k5hf2INNlgs@shelley.u.washington.edu> phantom@stein2.u.washington.edu (The Phantom) writes:
- >>In article <1993Jan26.182616.11550@vax.oxford.ac.uk> reese@vax.oxford.ac.uk writes:
- >>>
- >>>
- >>>I want to take two vectors and combine them, e.g.
- >>>[ a b c d e] and [ f g h i j ]
- >>>become [ a f b g c h d i e j ]
- >>>
- >>
-
- Another Solution
-
- z = [x;y];
- z = z(:)';
-
- Jeff
-
- Jeffrey C. Kantor Email: Jeffrey.Kantor@nd.edu
- Dept. of Chemical Engineering Voice: 219 631 5797
- University of Notre Dame Fax: 219 631 8366
- Notre Dame, IN 46556
-
-
-