Feeds
提问
Array indices must be positive integers or logical values.
tFinal = 2; N = 33; h=tFinal/N; t=linspace(0,tFinal,N+1); y=zeros(1,N+1); yExact=9./(3*t-1+10*exp(t*-3)); y(0) = 1; for n...
6 years 前 | 1 个回答 | 0
1
个回答提问
Error using / Matrix dimensions must agree
N = 10; h=tFinal/N; t=linspace(0,tFinal,N+1); % type 'help linspace' to see how this works y=zeros(1,N+1); yExact=9/((3.*t-1...
6 years 前 | 1 个回答 | 0

