Documentation
This commit is contained in:
parent
ccfc387b45
commit
5c22784c35
|
|
@ -27,10 +27,13 @@ n = length(greenchannel_normalized);
|
||||||
fr = (0:n-1)*(fps/n);
|
fr = (0:n-1)*(fps/n);
|
||||||
power = abs(y).^2/n;
|
power = abs(y).^2/n;
|
||||||
|
|
||||||
|
%New representation of the RGB channels
|
||||||
figure(1)
|
figure(1)
|
||||||
plot(fr, y,'linewidth',1)
|
plot(fr, y,'linewidth',1)
|
||||||
ylim([-80 80])
|
ylim([-80 80])
|
||||||
xlim([0.75 4])
|
xlim([0.75 4])
|
||||||
|
|
||||||
|
%Frequency representation
|
||||||
figure(2)
|
figure(2)
|
||||||
plot(fr, power,'linewidth',1);
|
plot(fr, power,'linewidth',1);
|
||||||
xlabel('Frequency')
|
xlabel('Frequency')
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue