MATLAB Live editor valriables with indices

1 visualización (últimos 30 días)
timo
timo el 13 de Mzo. de 2016
Respondida: Sarah Palfreyman el 21 de Mzo. de 2016
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

Respuestas (1)

Sarah Palfreyman
Sarah Palfreyman el 21 de Mzo. de 2016
clear all
syms r_t r1 r2 r3 k_t
r_t==r1+r2+r3
You can use subscripts & equation assignment if that helps.

Categorías

Más información sobre Symbolic Math Toolbox en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by