23.06.2015 Views

MATLAB Programming

MATLAB Programming

MATLAB Programming

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Example — The Portfolio Container<br />

Descriptor: XYZ<br />

Date: 24-Nov-1998<br />

Current Value: 2400.00<br />

Type: stock<br />

Number of shares: 200<br />

Share price: 12.00<br />

Descriptor: Acc # 1234<br />

Date: 24-Nov-1998<br />

Current Value: 2000.00<br />

Type: savings<br />

Interest Rate: 3.2%<br />

Descriptor: U.S. Treasury<br />

Date: 24-Nov-1998<br />

Current Value: 1600.00<br />

Type: bond<br />

Interest Rate: 12%<br />

Assets for Client: Gilbert Bates<br />

Total Value: 6000.00<br />

The portfolio pie3 method displays the relative mix of assets using a pie chart.<br />

pie3(p)<br />

9-63

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!