% This script will carry out error analysis T = 150e-6; f = 1/T; A=6; data_points=10e3; % TODO find exact solution exact = @(t) (); for j=1:data_points my_error = exact(time_array(j)) - Vout_array(j);