How to make variable matrix?
1 次查看(过去 30 天)
显示 更早的评论
how to make this matrix?
B=(T(0):T(n))
A=B(:)
its error
0 个评论
采纳的回答
Chad Greene
2021-4-14
In Matlab, the first index of any variable is 1, so T(0) will produce an error. Try T(1) to T(n+1).
更多回答(0 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!