Path: news.mathworks.com!not-for-mail
From: "Sadik " <sadik.hava@gmail.com>
Newsgroups: comp.soft-sys.matlab
Subject: Re: Functions
Date: Wed, 31 Mar 2010 09:43:04 +0000 (UTC)
Organization: The MathWorks, Inc.
Lines: 14
Message-ID: <hov5f8$6v$1@fred.mathworks.com>
References: <hov460$9u2$1@fred.mathworks.com>
Reply-To: "Sadik " <sadik.hava@gmail.com>
NNTP-Posting-Host: webapp-02-blr.mathworks.com
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1270028584 223 172.30.248.37 (31 Mar 2010 09:43:04 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Wed, 31 Mar 2010 09:43:04 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 1666517
Xref: news.mathworks.com comp.soft-sys.matlab:622189

Hi Wen,

Yes, this is how you define it.

When you are calling them, you can do:

M = tot(...
pop(M);

or

pop(tot(...

Best.