The Math Forum

Search All of the Math Forum:

Views expressed in these public forums are not endorsed by NCTM or The Math Forum.

Math Forum » Discussions » Software » comp.soft-sys.matlab

Notice: We are no longer accepting new posts, but the forums will continue to be readable.

Topic: cell references
Replies: 1   Last Post: Oct 14, 2013 4:43 PM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]

Posts: 5
Registered: 11/11/10
cell references
Posted: Oct 14, 2013 2:18 PM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

I am trying to build some code to calculate value at risk

Can someone help me interpret the following, based on a 602 x 2 matrix

specifically how do i interpret the lines from

i = 1:400 onwards

Data = xlsread('Historical_Data.xls');
for i=1:400
mu = mean(Data(1+(i-1):100+(i-1),:))';
dim = size(mu,1);
C = cov(Data(1+(i-1):100+(i-1),:));

Date Subject Author
Read cell references
Read Re: cell references

Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© The Math Forum at NCTM 1994-2018. All Rights Reserved.