diff options
Diffstat (limited to 'coursework17/error_script.m')
-rw-r--r-- | coursework17/error_script.m | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/coursework17/error_script.m b/coursework17/error_script.m new file mode 100644 index 0000000..29988bf --- /dev/null +++ b/coursework17/error_script.m @@ -0,0 +1,13 @@ +% 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); |