How do I write the equation down in matlab?

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

John D'Errico
John D'Errico 2015년 4월 10일
You've done nothing but give us a bunch of variable names, with little connection to each other.
For example, alpha is a matrix (actually a vector.) And, so what? It never seems to appear in anything else.
Rilakkigen
Rilakkigen 2015년 4월 12일
Just added the image of equations. Thanks guys. First time using mathworks.

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

도움말 센터File Exchange에서 Matrices and Arrays에 대해 자세히 알아보기

질문:

2015년 4월 10일

댓글:

2015년 4월 12일

Community Treasure Hunt

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

Start Hunting!

Translated by