How do I write the equation down in matlab?

1 view (last 30 days)
Rilakkigen
Rilakkigen on 10 Apr 2015
Commented: Rilakkigen on 12 Apr 2015
where the variable name of c_t+1/c_t is cons; the variable name of (R_s,t+1 - R_b,t+1) is rpremium; the variable name of R_b,t+1 is rbonds; alpha is a matrix --> a=[1:0.5:10];
Thanks!
Sorry I thought I uploaded the image but it turns out I actually need to insert the image.
  3 Comments
Rilakkigen
Rilakkigen on 12 Apr 2015
Just added the image of equations. Thanks guys. First time using mathworks.

Sign in to comment.

Answers (0)

Categories

Find more on Operating on Diagonal Matrices in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!