change Fazit section, adapt exercise script to reflect the changes to
function names
This commit is contained in:
@@ -8,10 +8,10 @@ hold on
|
||||
|
||||
for i = 1:length(amplitudes)
|
||||
for j = 1:length(frequencies)
|
||||
[x_data, y_data] = calculate_sinewave(frequencies(j), ...
|
||||
amplitudes(i), t_max, t_step);
|
||||
plot_sinewave(x_data, y_data, sprintf('freq: %5.2f, ampl: %5.2f',...
|
||||
frequencies(j), amplitudes(i)))
|
||||
[x_data, y_data] = sinewave(frequencies(j), ...
|
||||
amplitudes(i), t_max, t_step);
|
||||
plotFunction(x_data, y_data, sprintf('freq: %5.2f, ampl: %5.2f',...
|
||||
frequencies(j), amplitudes(i)))
|
||||
end
|
||||
end
|
||||
legend('show')
|
||||
|
||||
Reference in New Issue
Block a user