Feeds
提问
how can i resolve the "index in position 2 is invalid" error in line 99? the code works fine when N=15 but i need N=17.
clear clc tg=tfinal/(rept-1); rt=(0:tg:tfinal); rt(1)=1; rt(rept)=tfinal; for i=1:rept ts(i)=rt(i)*dt; %times in seconds ...
3 years 前 | 1 个回答 | 0
