Akzeptierte Antwort

Chad Greene
Chad Greene am 14 Apr. 2021

0 Stimmen

In Matlab, the first index of any variable is 1, so T(0) will produce an error. Try T(1) to T(n+1).

1 Kommentar

Thank you so much!!
but still error...
Should I enter the equation for T?
I want to calculate with T as a variable.
syms T
B=(T(1):T(n+1))
A=B(:)

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by