HDTenEightyP/NetNews huggingface dataset:
Path: rocket!uunet!spool.mu.edu!news.nd.edu!control!jeff
   From: jeff@control.nd.edu (Jeffrey C. Kantor)
   Newsgroups: comp.soft-sys.matlab
   Date: 22 Jan 93 20:24:55 GMT
   Sender: news@news.nd.edu (USENET News System)
   Reply-To: jeff@control.nd.edu
   Organization: University of Notre Dame
   Lines: 15

   I find myself unable to import eps files generated by Matlab 4.0 into
   Framemaker.  I get a frame, but no graphics either on the printer or
   the screen.

   The Mathworks says the postscript generation is improved in 4.0A, but
   that didn't directly answer my question of whether this particular problem
   will be fixed. 

   Does anyone else know?

   ---
   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

I just had to create some graphs to include in FrameMaker 3.1a (or x)
with version 4.0a Matlab.  The print command with -deps and -preview
worked just fine.  I could rezise and move the image around, but I
could not see the actual graph just a gray box representation.  See if
you site can upgrade to 4.0a that may solve your problems.  (I still
wish I could see the graph though).


     - kevin
        -----------------------------------------------------
Dr. Kevin T. Damour                              Lockheed Sanders Inc.
Principal Electrical Engineer                    PO Box 868,MER24-1583C
Signal Processing Center of Technology           Nashua, NH 03061-0868
(usenet)      ...!uunet!rocket!damour        voice (603)885-9122
(internet)    <damour@rocket.sanders.com>    fax   (603)885-0631


--
        -----------------------------------------------------
Dr. Kevin T. Damour                              Lockheed Sanders Inc.
Principal Electrical Engineer                    PO Box 868, MER24-1583C
Signal Processing Center of Technology           Nashua, NH 03061-0868

  (usenet)      ...!uunet!rocket!damour            voice (603) 885-9122
  (internet)    <damour@rocket.sanders.com>        fax   (603) 885-0631
Newsgroups: comp.soft-sys.matlab
From: Bj|rn Alsberg <alsberg@math.uio.no>
Subject: Benchmark: HP730 slower than HP710??????
Organization: University of Oslo
Date: Tue, 26 Jan 1993 20:51:54 GMT


We have just bought a HP 9000/730 unix computer and it runs Matlab 4.0 .
The machine has 64 MB RAM and  1GB hard disk.
Running the benchmark in matlab our machine is ranked as SLOWER than the
HP 710 (and 720 of course)!
My question is: Is this a problem with the matlab 4.0
benchmark or our machine?  People with HP computers could test this
and see if their machines perform as expected.
Thanks for any help!


Bjoern Alsberg
Dept. of Chemistry
University of Bergen

Newsgroups: comp.soft-sys.matlab
From: kihlstro@en.ecn.purdue.edu (Merlin)
Subject: Question about sounds ...
Keywords:  Matlab 4.0a .. sounds .. how to get them ...
Organization: Purdue University Engineering Computer Network
Date: Tue, 26 Jan 93 22:15:28 GMT


I have a question out there for people who use Matlab 4.0a
(I am running it on a sun sparc workstation)
How do you get the sounds to work? I am only to get niose
when I tried using it.  Has anyone used it? 
Can someone post a little blirb on the basics of using it.
Thanks..

Cory
-- 
+----------------------------------------+------------------------------------+
|kihlstro@ecn.purdue.edu                 |Cory C. Kihlstrom 
|{purdue, pur-ee}!ecn.purdue.edu!kihlstro|School of Electrical Engineering
|merlin2@sage.cc.purdue.edu              |Electrical Engineering
From: ellert@v32.uh.cwru.edu ()
Newsgroups: comp.soft-sys.matlab
Subject: Re: need help with cmex
Date: 21 Jan 1993 16:57:42 GMT
Organization: Image Analysis Center, Univ. Hospitals of Cleveland
Distribution: comp
Reply-To: ellert@nu1.uh.cwru.edu
NNTP-Posting-Host: max.uh.cwru.edu


In article <TOMORROW.93Jan20232742@riemann.news.mit.edu>, tomorrow@riemann.news.mit.edu (xuejun cai) writes:
> I am trying to use fopen() inside a C mex file.  the program compiled
> fine,  but when i ran it, matlab reports segmentation fault when it
> sees the line with fopen in it.  I am wondering if there is anything
> against using fopen inside c mexfiles.  I am using matlab 4.0.

Probably a programming error.  Need to see the code to be sure.

> 
> any help is appreciated,
> thanks in advance,
> cai
> 

Ed
From: little@mathworks.com (John Little)
Newsgroups: comp.soft-sys.matlab
Subject: Re: Figure/image update question.
Date: 27 Jan 93 00:15:11 GMT
Organization: The MathWorks, Inc.
X-Useragent: Nuntius v1.1

In article <BGEORGE.93Jan25120412@grumpy.sanders.lockheed.com> E. Bryan
George, bgeorge@grumpy.sanders.lockheed.com writes:
>In article <1993Jan21.230058.5077@julian.uwo.ca> craigj@irus.rri.uwo.ca
( Craig 
>Jones) writes:
>
>   What I am doing is reading in an 8-bit image and would like to
>   pick some points on it.  I can plot the points on the image
>   but every point that is plotted Matlab clears the figure and 
>   redraws the whole thing.  This is WAY too slow.
>
>   What I am hoping is that there is some way in Matlab to turn
>   off the redraw/refresh??
>
>In Matlab 4, you can do this by specifiying a plot as a graphics
>object then using the 'set' command to change the data in the plot
>without redrawing the axis.  Look at ODE23P for further clues.


Another thing you can do is use the "EraseMode" property of line objects.
This allows you to control the technique MATLAB uses to draw and erase
line objects.  Possibilities are "normal", "none", "xor", and
"background".
Look at a guide or grep in the demo M-files for examples...

John Little
Newsgroups: comp.soft-sys.matlab
From: ramesh@cbnewsl.cb.att.com (nallepilli.s.ramesh)
Subject: scanf() function in matlab ?
Organization: AT&T Bell Laboratories
Distribution: na
Date: Mon, 25 Jan 1993 23:20:41 GMT

Hi! I have the student edition of Matlab, and have a rather simple question!
Is there an equivalent to the C function 'scanf()' in Matlab.  I would like
to sequentially read an ASCII file, process it, and ship out using printf().

I don't want to read the whole file into a single vector. (It is too long)

Thanks
N. Ramesh
-- 
N. Ramesh  (ramesh@whservd.att.com)
ATT Bell Labs, Whippany NJ.
Newsgroups: comp.soft-sys.matlab
From: lcaselli@en.ecn.purdue.edu (Lisa A Caselli)
Subject: More Info for previous article
Organization: Purdue University Engineering Computer Network
Distribution: usa
Date: Thu, 21 Jan 93 06:27:59 GMT

The computer in the last article (the one I'm having touble installing
Simulink on) is a 386sx, 16 MHz.

-- Lisa A. Caselli
   lcaselli@en.ecn.purdue.edu
From: Ray Zimmerman <rz10@cornell.edu>
Newsgroups: comp.soft-sys.matlab
Subject: Re: scanf() function in matlab ?
Date: 26 Jan 1993 14:48:24 GMT
Organization: Electrical Engineering, Cornell University
Distribution: world
NNTP-Posting-Host: ziklag.ee.cornell.edu
X-UserAgent: Nuntius v1.1.1d17
X-XXMessage-ID: <A78ABA9B9502E0B5@ziklag.ee.cornell.edu>
X-XXDate: Tue, 26 Jan 93 14:53:31 GMT

In article <1993Jan25.232041.10233@cbnewsl.cb.att.com>
nallepilli.s.ramesh, ramesh@cbnewsl.cb.att.com writes:
>Hi! I have the student edition of Matlab, and have a rather simple
question!
>Is there an equivalent to the C function 'scanf()' in Matlab.  I would
like
>to sequentially read an ASCII file, process it, and ship out using
printf().

Sorry, not in the current student version.  Matlab 4.0 has "fscanf" and
"sscanf".  And a few days ago I thought I saw a post of someone saying
they'd written some MEX files for 3.5 to do this.  I don't remember if
Student Matlab does MEX files.

:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
 Ray Zimmerman           \ 397 Theory Center, Electrical Engineering
                          \ Cornell University, Ithaca NY  14853
 Ray-Zimmerman@cornell.edu \ Phone: 607-254-8819  Fax: 607-255-9072
:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
        "The number you have dialed is imaginary.
                    Rotate phone 90 degrees and try again."
Newsgroups: comp.soft-sys.matlab
From: mek@guinan.psu.edu (Mark E. Kotanchek)
Subject: Re: Combining vectors
Organization: Penn State Center for Academic Computing
Date: Wed, 27 Jan 93 15:46:57 GMT

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 ]
> >>
> >
> >say a=[ a b c d e ] and b=[ f g h i j ] -- an easy way to do this would  
be
> >using ...
> >
> >len=length(a);			%assuming length(a), length(b) are  
equal
> >FOR count=1:len,
> >	c((count*2)-1)=a(count);
> >	c((count*2)=b(count);
> >END
> >
> >that seems to work, anyway. just work with the commands for picking out 
> >certain matrix spots and FOR loops, and you should be able to comprise 
> >something that works both ways.
> >
> >mt
> >
> 
> Try the following:
> 
> % assignment of your vector
> x = ['a' 'b' 'c' 'd' 'e'];
> y = ['f' 'g' 'h' 'i' 'j'];
> % assign an index vector
> ind = [1:length(x)];
> %assign the vector
> z(ind*2-1) = x;
> z(ind*2) = y;
> 
> %reverse assignment
> %assign an index in a reverse way:
> ind2 = [length(x) : -1 : 1];
> %assign the vector
> z2(ind*2-1) = x(ind2);
> z2(ind*2) = y(ind2);
> 
> 
> Actually, the contents of ind and ind2 can be any number in the index  
range.
> I believe the example shows the most efficient and flexible way to use  
MATLAB.

Actually, the easiest way to acomplish the desired rearrangement in matlab  
is via

   x=[a,b,c,d,e];   % definition of matrices
   y=[f,g,h,i,j];
   z=[x;y];         % build a new 2x5 matrix of x over y
   z=reshape(z,1,10); % and we have the desired form!

Of course, we could combine commands and make it a little more general,

    z=reshape([x;y],1,length([x;y]))

but you get the general idea. The first rule of matlab is to "exploit your  
data structures" and the second rule is that "there is probably an easy  
way to do things". The third rule is to "use functions and scripts--NOT  
the command line" if you want to avoid irreproducible results.

Mark.
--
Mark Kotanchek
Guidance & Control Dept - 363 ASB
Applied Research Lab/Penn State
P.O. Box 30
State College, PA 16804

Newsgroups: comp.soft-sys.matlab
From: Michael Maurer <maurer@nova.stanford.edu>
Subject: Re: Help! Plotting.
Organization: STAR Lab, Stanford University, California USA
Date: 25 Jan 93 21:45:12 GMT

In <1993Jan24.233400.1494@jupiter.sun.csd.unb.ca> dwoo@jupiter.sun.csd.unb.ca (Dennis Woo) writes:

>I entered the following lines in matlab:
>	
>  [w0,w1]=meshdom(-5:.1:5,-5:.1:5);
>  z = 2*(w0.^2) + 3*(w1.^2) - 12*w0 - 8*w1 
>      + 2*(w0.*w1) + 36*ones(w0);
>  contour(z)

>Instead of contours (these contours are ellipses) centered at (2.8,0.4)
>with a z-value of 17.6,  I got the contours centered at around
>(85,60).

Your mistake is to omit the axes specifications to 'contour'.  Without
these, 'contour' will use the indices into the array 'z' as the x- and
y-axes.  Instead you should say

contour(z,-5:.1:5,-5:.1:5)

Good luck.
--
______________________________________________________________________
Michael Maurer          maurer@nova.stanford.edu        (415) 723-1024
From: gray@snow.scr.slb.com (Douglas Gray Stephens)
Newsgroups: comp.soft-sys.matlab
Subject: Re: DISP1:  disp1.m - display text and numbers
Date: 25 Jan 93 09:37:51
Organization: Schlumberger Cambridge Research
	<1993Jan23.233224.11781@netnews.whoi.edu>
NNTP-Posting-Host: snow.scr.slb.com
In-reply-to: rich@boreas.whoi.edu's message of Sat, 23 Jan 93 23:32:24 GMT

In article <1993Jan23.233224.11781@netnews.whoi.edu> rich@boreas.whoi.edu writes:

   >Trying to continue the trend, here is an m-file for display
   >text and numbers to the screen on a single line.  I had m-files
   >filled with statements like
   >   disp('x measures blah blah, its value is');  disp(x);
   >which (a) uses 2 display statements and (b) does not appear
   >on a single line on the screen.  The m-file disp1.m allows the
   >statement
   >   disp1('x measures blah blah, its value is ', x);
   >
   > [script deleted]

   You don't need an m-file for that - just use:

   disp(['x measures blah blah, its value is ' num2str(x)]);

If you want more control over the format of the numbers, you should
use the fprintf command, e.g.

  fprintf('x measures blah blah, its value is %.4g\n',x)

(you also have more explicit control over the line breaks).


--
----------------------------------------------------------------------------
Dr. Douglas GRAY STEPHENS                e-mail : gray@scr.slb.com   
Schlumberger Cambridge Research          Tel/fax: 0223-325303 / 0223-311830
P.O.Box 153, Cambridge CB3 0HG, England  (International prefix for UK: 44)
============================================================================
Newsgroups: comp.soft-sys.matlab
From: stote@tomcat.den.mmc.com (M. Stote)
Subject: Re: Robust Controller Synthesis
Organization: Martin Marietta Astronautics Group
Date: Thu, 28 Jan 1993 23:19:31 GMT

In article <1993Jan27.235318.24805@aio.jsc.nasa.gov>, scallan@sweetpea.jsc.nasa.gov (-BJS-) writes:
|> 
|> 
|>    I have a question for those of you readers who have performed
|> optimal controller synthesis using the robust control and
|> mutools toolboxes available in matlab.  I am attempting to
|> design a controller for an "improper" system, i.e., the
|> frequency response does not roll-off at high frequencies.  Is
|> there any such requirement on the plant in order to use the
|> 'hinfsyn', 'h2syn', musynfit, etc. functions.
|>

  The only requirement is that the systems be `at least'
proper.  That is they cannot go to infinity as freq goes to 
infinity.

 
|>    The problem I am encountering does not seem to be related to
|> this; I have problems with the row rank test on the matrix [a
|> b1; c2, d21].  This matrix ends up being (7x5) and thus cannot
|> have full row rank.  Obviously, I have formulated the problem
|> incorrectly, but I am not sure where I've gone astray.  There
|> are three measurements available to the controller and the "Z"
|> vector has one measurement.  The performance specification (Wp)
|> is second order, is this okay??  Can anyone give me possible
|> avenues to explore which I might have missed??  The requirement
|> indicates that the number of n+p must be equal to or less than
|> m1+m2, where;
|> 
|> 	n  = number of states,
|> 	p  = number of outputs,
|> 	m1 = number of exogenous inputs,
|> 	m2 = number of controls
|> 
|> 
|>    Any ideas would be greatly appreciated either by e-mail or via
|> posting.  Thanks in advance.
|> 

The basic requirements are that:
   p2 (sensed outputs) <= m1 (exog inputs)
   p1 (regulat outputs) >= m2 controls

In addition the sensor outputs must contain some exogenous
input signal over the entire frequency range.  Failure to do this
is usually what causes the rank condition failure you described.

Also be careful of zeros at s=0 or almost 0 in the weighting functions
on the exogenous inputs to the sensor signals.

 					Befuddled but not Defeated,
|> 
|> 					-BJS-
|> -- 
|> 
|> =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
|> Brian J. Scallan,				  scallan@sweetpea.jsc.nasa.gov
|> 
|> When angry, count four; when very angry, swear.
|> Pudd'nhead Wilson - M. Twain
|> 
|> The opinions expressed 
|> should not be interpreted as those 
|> of my employer or any other (semi-)rational entity.			{-BJS-}
|> =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

--
Mike Stoughton
stote@den.mmc.com
From: lake@cwjcc.INS.CWRU.Edu (Dr. Robin Lake)
Newsgroups: comp.soft-sys.matlab
Subject: Re: Matlab versus IDL, PV-Wave?
Date: 28 Jan 1993 13:42:05 GMT
Organization: Case Western Reserve University, Cleveland, Ohio (USA)
NNTP-Posting-Host: cwjcc.ins.cwru.edu

In article <chase-270193152616@chases_mac.jhuapl.edu> chase@aphill.jhuapl.edu (Christopher J. Chase) writes:
>I have used Matlab in the distant past. Now we are using (and spending a
>lot of money for liscenses) IDL and for one project, PV-Wave (all on UNIX
>systems under X windows). How does Matlab compare with these in terms of
>computational ability (linking in code, variety of operators, memory usage,
>etc.) and data visualization (making your own X-widget programs, image
>processing, mapping capabilities, 3-D slicing/dicing, color, etc.). For one
>thing, IDL and PV-Wave seem very expensive. Also, the variety of canned
>procedures available in Matlab toolboxes seems much greater than with these
>programs. However, my impression is that the data visualiztion and widget
>capabilities of IDL and PV-Wave are better  than Matlab.
>

We use MatLab 3.5 on a Mac Quadra, Ethernetted to a KPC Titan running AVS.
MatLab proved most valuable for its established Toolkits for signal analysis
and system identification.  In 3.5 the graphics are naive, but once we
processed our data arrays, we could export the results into:
	SerePlot and KaleidaGraph for plotting and conversion
	UNIX files on the Titan where we use AVS for 3-D visualization
		and projection onto photos and topo maps.

The rapid FTP connection between MatLab on a Mac and a very competent UNIX
box is a dream! (Given that MathWorks no longer supports MatLab on the Titan).
In that our data arrives in spreadsheet format, we need Excel anyhow.

MatLab is a convenient tool, as is Excel, but I would not want to try to
complete a major project using nothing else.  It takes a while to determine
which tool can do the task in the best way, then you develop a "style".
Even Excel can do FFTs, but it's not its forte!

In my humble opinion,
Rob Lake
BP America Research
lake@rcwcl1.dnet.bp.com
Newsgroups: comp.soft-sys.matlab
From: sumargoh@widget.fiu.edu (H. Sumargo)
Subject: Re: List of filenames
Reply-To: sumargoh@fiu.edu
Organization: FIU, Electrical & Computer Engineering Dept.
Date: Wed, 27 Jan 1993 14:43:26 GMT

In article <1k0v76INN1bm@usenet.INS.CWRU.Edu>, ellert@v32.uh.cwru.edu () writes:
|> 
|> In article <1993Jan22.163358.10283@nic.funet.fi>, Tero Siili <Tero.Siili@fmi.fi> writes:
|> >Question: I have a text lines (all of the same length) in a text file.  
|> >How can I read those text lines into Matlab string variables?  I tried
|> >using load, but to no avail and I was unable to find other alternatives 
|> >based on the documentation.
|> 
|> A long time ago I wrote a bunch of MEX functions which allow direct file
|> manipulation based on the C routines fopen, etc.  These routines have been
|> used by our facility for close to 3 years and have been pretty well debugged
|> by now.  Your problem would be easily solved by using the mfgets call to
|> read each line in your file.
|> 
|> There is a catch; technically the routines belong to our facility and without
|> permission I cannot post them.  Supposedly matlab v4.0 has similar file
|> manipulation capabilities.  For these reasons I haven't bothered to get
|> permission to post them, however, if there is sufficient interest I'll see
|> what I can do.
|> 
|> Ed Ellert
|> ellert@nu1.uh.cwru.edu

I am also interested in the above subject.  Please let me know if you could 
get the permission to post the code.  Thank you very much.
Newsgroups: comp.soft-sys.matlab
From: Michael Maurer <maurer@nova.stanford.edu>
Subject: Re: Group for Matlab only? or other types of control analysis software?
Keywords: Matlab, MatrixX, Xmath, Ctrl-c, others
Organization: STAR Lab, Stanford University, California USA
Date: 26 Jan 93 20:46:26 GMT

In <26JAN199314423186@ariel.lerc.nasa.gov> mattern@ariel.lerc.nasa.gov (Duane Mattern (Sverdrup)) writes:

>Is this newsgroup only for matlab discussions? or does it encompass
>ALL control software analysis packages, like MatrixX, Ctrl-c, 
>program CC, Xmath, Honey-X...others. etc.?

>Any discussion of simulations tools, like SimuLink, SystemBuild,
>Easy 5, Model-C?

>How about implementation issues?  Code generators?  What are the boundaries
>for this newsgroup.

Here is the charter of this group:

CHARTER:
  The newsgroup 'comp.soft-sys.matlab' is a forum for discussing issues
  related to the use of Matlab, the scientific calculation and
  visualization package from MathWorks Inc.  This includes discussion of
  similar software packages which are also derived from the original
  public domain(*) Matlab, such as Xmath from Integrated Systems Inc.

[(*) Note that the original Matlab, written by Cleve Moler, was never
actually placed in the public domain.]

CONTENT: 
  Appropriate discussion in the group will include both general
  Matlab issues and platform-specific questions, and discussion
  comparing Matlab to other systems.  Some examples:

  General Matlab issues
	Answers to novices' questions, with an evolving FAQ
	Exchange of public-domain Matlab source code
	Use of commercial toolboxes (advice, bugs, etc.)
	Implementation of numerical algorithms
	etc.

  Platform-specific issues
	Graphical output
	Interface to external programs
	etc.

  Comparison to other systems
	MATRIXx/Xmath, and to a lesser extent Mathematica, AVS, Khoros, etc.


--
______________________________________________________________________
Michael Maurer          maurer@nova.stanford.edu        (415) 723-1024
Newsgroups: comp.soft-sys.matlab
From: rich@boreas.whoi.edu
Subject: Re: Getting rid of pesky startup window
Organization: Woods Hole Oceanographic Institution
Date: Thu, 28 Jan 93 02:36:01 GMT

In article <C1JG0u.K7C@MathWorks.COM> John Little <little@mathworks.com> writes:
>In article <1993Jan27.190653.27282@informatik.uni-bremen.de> Bengt
>Martensson, 
>bengt@mathematik.uni-Bremen.de writes:
>
>>How can I get rid of that pesky window Matlab opens for a few seconds
>>during startup? It drives me nuts! [...]
>
>The "spash screen" does NOT add to the startup time. It is put up
> [to help windows work]

It's nice that it doesn't add to the startup time, however it is
*still* intensely irritating. 

Intensely!





--
Rich Pawlowicz ----------------- INTERNET: rich@boreas.whoi.edu
Woods Hole Oceanographic Institution
"Home of the 99 cent squid burger (cheese extra)"
--------------------------------------------------------------
Newsgroups: comp.soft-sys.matlab
From: dilsavor@dosequis.eng.ohio-state.edu (Ron L. Dilsavor)
Subject: Re: Combining vectors
Organization: The Ohio State University Dept of Electrical Engineering
Date: Wed, 27 Jan 1993 15:58:15 GMT

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 ]
>>
>
>say a=[ a b c d e ] and b=[ f g h i j ] -- an easy way to do this would be
>using ...
>
>len=length(a);			%assuming length(a), length(b) are equal
>FOR count=1:len,
>	c((count*2)-1)=a(count);
>	c((count*2)=b(count);
>END
>
>that seems to work, anyway. just work with the commands for picking out 
>certain matrix spots and FOR loops, and you should be able to comprise 
>something that works both ways.
>
>mt
>

Try to avoid using slow FOR loops if you can.
Here is a neat way which is faster

c(2:2:2*length(b))=b;
c(1:2:length(c))=a;

Ron Dilsavor
dilsavor@ee.eng.ohio-state.edu