|
- function data = transferFunction(oscilloscope,functiongenerator,f_start,f_stop,n_steps)
- %TRANSFERFUNCTION Summary of this function goes here
- % Detailed explanation goes here
-
- f_array = linspace(f_start,f_stop,n_steps);
- data = zeros(n_steps,1);
- for i = 1:n_steps
- functiongenerator.frequency = f_array(i);
- data(i) = oscilloscope.ch1.peak2peak;
- end
- end
|