Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2006
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2006

[Date Index] [Thread Index] [Author Index]

Search the Archive

Matrix Output

  • To: mathgroup at smc.vnet.net
  • Subject: [mg71001] Matrix Output
  • From: Liz <xmzwl at yahoo.com>
  • Date: Sat, 4 Nov 2006 04:08:14 -0500 (EST)

Hello, how to output the result "E" as matrix? Is there better way to get the results and output the results into matrix?

Thanks in advance.



A=[1 4];
B=[2 5];
E=zeros(4,2);
 for m=1:length(A)
  for n=1:length(B)
	E=[A(m) B(n)]
  end
 end


  • Prev by Date: Re: Two small problems compute OK, but not their sum.
  • Next by Date: capturing formatting
  • Previous by thread: Re: Mathematica / MacOSX / XDarwin fonts problem
  • Next by thread: Re: Matrix Output