Path: news.mathworks.com!not-for-mail
From: <HIDDEN>
Newsgroups: comp.soft-sys.matlab
Subject: Getting Started with Portfolio Optimization
Date: Sat, 27 Oct 2012 16:46:08 +0000 (UTC)
Organization: HSBC
Lines: 8
Message-ID: <k6h34g$2ui$1@newscl01ah.mathworks.com>
Reply-To: <HIDDEN>
NNTP-Posting-Host: www-03-blr.mathworks.com
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
X-Trace: newscl01ah.mathworks.com 1351356368 3026 172.30.248.48 (27 Oct 2012 16:46:08 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Sat, 27 Oct 2012 16:46:08 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 2921053
Xref: news.mathworks.com comp.soft-sys.matlab:781499

Getting Started with Portfolio Optimization

I’m watching the video here:
http://www.mathworks.com/videos/getting-started-with-portfolio-optimization-68762.html

I now the financial theory.  I’m trying to figure out the m-code.  I followed along in the video tutorial; typed out the code but I must be missing something because my code is not working (posting my code below).  Does anyone know where I can download the complete code?  I can’t seem to find the code anywhere.  Or, does anyone know what the code is?  I mean, has anyone here done it themselves?  I don’t think the code is posted anywhere on the Matlab site; I’ve looked for it everywhere….

I’d greatly appreciate any help with this!!