summaryrefslogtreecommitdiff
path: root/coursework17/error_script.m
blob: 29988bf27fad393432f3f4007ffb8ea88a72e599 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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);