Feeds
提问
euler's method, error, when I run the code i get an error message when trying to create the array for the x values, Array indices must be positive integers or logical values.
clear clc close all t0 = 0; x0 = 3; tf = 1; n = 10; tArray = linspace(t0, tf, n+1); xArray = [x0]; h = (tf - t0)/...
5 years 前 | 1 个回答 | 0
