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 个评论

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.
Just added the image of equations. Thanks guys. First time using mathworks.

请先登录,再进行评论。

回答(0 个)

类别

帮助中心File Exchange 中查找有关 Mathematics 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by