Path: news.mathworks.com!not-for-mail
From: <HIDDEN>
Newsgroups: comp.soft-sys.matlab
Subject: Converting Matrix Dimensions?
Date: Sat, 17 Jan 2009 21:54:02 +0000 (UTC)
Organization: The MathWorks, Inc.
Lines: 1
Message-ID: <gktk1p$7ak$1@fred.mathworks.com>
Reply-To: <HIDDEN>
NNTP-Posting-Host: webapp-02-blr.mathworks.com
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1232229242 7508 172.30.248.37 (17 Jan 2009 21:54:02 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Sat, 17 Jan 2009 21:54:02 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 1674909
Xref: news.mathworks.com comp.soft-sys.matlab:512248


I have a problem in my class and the data is given in a 20x4 data file. It asks to find the mean, median and other things. However we're not allowed to use the mean function to find the mean. I have an idea that by converting the matrix into a 1x80 and then adding the sum and dividing by 80, I'll get the answer. But how do you convert the matrix from 20x4 to 1x80? Thanks