MATLAB Live editor valriables with indices

2 ビュー (過去 30 日間)
timo
timo 2016 年 3 月 13 日
回答済み: Sarah Palfreyman 2016 年 3 月 21 日
Dear all , is there any way to make rt have t as indices in this ?
clear all
syms rt r1 r2 r3
rt=r1+r2+r3
r1 , r2 , r3 have indices , but not rt , and i want to make it consistent in the equation

回答 (1 件)

Sarah Palfreyman
Sarah Palfreyman 2016 年 3 月 21 日
clear all
syms r_t r1 r2 r3 k_t
r_t==r1+r2+r3
You can use subscripts & equation assignment if that helps.

カテゴリ

Help Center および File ExchangeSymbolic Math Toolbox についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by