MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi
Learn moreOpportunities for recent engineering grads.
Apply TodayNew to MATLAB?
MATLAB Central > MATLAB Newsreader > What is the MATLAB oneline expression... 

Subject: What is the MATLAB oneline expression... From: Jeff Date: 29 Nov, 2009 02:24:03 Message: 1 of 14 
...to create the n ? n matrix A satisfying 
Subject: What is the MATLAB oneline expression... From: ade77 Date: 29 Nov, 2009 02:46:03 Message: 2 of 14 
"Jeff " <spREMOVEHITSjeffAT@SIGNoptonline.net> wrote in message <hesm03$q5m$1@fred.mathworks.com>... 
Subject: What is the MATLAB oneline expression... From: Matt Fig Date: 29 Nov, 2009 03:10:18 Message: 3 of 14 
The FOR loop solution is straight forward. 
Subject: What is the MATLAB oneline expression... From: Matt Fig Date: 29 Nov, 2009 03:42:04 Message: 4 of 14 
I just noticed that you wanted it all in one line. My previous vectorized solution could go on one line, just so you know. 
Subject: What is the MATLAB oneline expression... From: the cyclist Date: 29 Nov, 2009 03:53:04 Message: 5 of 14 
"Jeff " <spREMOVEHITSjeffAT@SIGNoptonline.net> wrote in message <hesm03$q5m$1@fred.mathworks.com>... 
Subject: What is the MATLAB oneline expression... From: Matt Fig Date: 29 Nov, 2009 03:59:03 Message: 6 of 14 
This should be pretty fast. 
Subject: What is the MATLAB oneline expression... From: the cyclist Date: 29 Nov, 2009 04:07:04 Message: 7 of 14 
"the cyclist" <thecyclist@gmail.com> wrote in message <hesr6v$bv5$1@fred.mathworks.com>... 
Subject: What is the MATLAB oneline expression... From: Matt Fig Date: 29 Nov, 2009 04:10:20 Message: 8 of 14 
Here's another, inspired by the cyclist's solution: 
Subject: What is the MATLAB oneline expression... From: Jeff Date: 29 Nov, 2009 04:16:04 Message: 9 of 14 
"ade77 " <ade100a@gmail.com> wrote in message <hesn9b$ed9$1@fred.mathworks.com>... 
Subject: What is the MATLAB oneline expression... From: Matt Fig Date: 29 Nov, 2009 04:18:00 Message: 10 of 14 
And another (these are fun!), actually this is a modification of a previous one. 
Subject: What is the MATLAB oneline expression... From: Jeff Date: 29 Nov, 2009 05:01:17 Message: 11 of 14 
"Matt Fig" <spamanon@yahoo.com> wrote in message <hesslo$avq$1@fred.mathworks.com>... 
Subject: What is the MATLAB oneline expression... From: the cyclist Date: 29 Nov, 2009 15:01:03 Message: 12 of 14 
"Jeff " <spREMOVEHITSjeffAT@SIGNoptonline.net> wrote in message <hesv6t$ejo$1@fred.mathworks.com>... 
Subject: What is the MATLAB oneline expression... From: Bruno Luong Date: 29 Nov, 2009 15:57:00 Message: 13 of 14 
> 
Subject: What is the MATLAB oneline expression... From: Bruno Luong Date: 29 Nov, 2009 17:32:19 Message: 14 of 14 
"Bruno Luong" <b.luong@fogale.findmycountry> wrote in message 
No tags are associated with this thread.
A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.
Anyone can tag a thread. Tags are public and visible to everyone.