채택된 답변

Chad Greene
Chad Greene 2021년 4월 14일

0 개 추천

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

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(:)

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

추가 답변 (0개)

카테고리

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

태그

질문:

2021년 4월 14일

댓글:

2021년 4월 14일

Community Treasure Hunt

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

Start Hunting!

Translated by