Fail:Aliasing between a positive and a negative frequency.png
Daripada testwiki
Pergi ke pandu arah
Pergi ke carian
Aliasing_between_a_positive_and_a_negative_frequency.png (694 × 452 piksel, saiz fail: 44 KB, jenis MIME: image/png)
Fail ini dari Wikimedia Commons dan mungkin digunakan oleh projek lain. Penerangan pada laman penerangan failnya di sana ditunjukkan di bawah.
Ringkasan
| KeteranganAliasing between a positive and a negative frequency.png |
English: This figure depicts two complex sinusoids, colored gold and cyan, that fit the same sets of real and imaginary sample points. They are thus aliases of each other when sampled at the rate (fs) indicated by the grid lines. The gold-colored function depicts a positive frequency, because its real part (the cos function) leads its imaginary part by 1/4 of one cycle. The cyan function depicts a negative frequency, because its real part lags the imaginary part. |
| Tarikh | |
| Sumber | Karya sendiri |
| Pengarang | Bob K |
| Versi lain |
|
| PNG genesis InfoField | |
| Octave/gnuplot source InfoField | click to expand
This graphic was created with the help of the following Octave script: graphics_toolkit gnuplot
gold = [251 159 3]/256; % arbitrary color choice
sam_per_sec = 1;
T = 1/sam_per_sec; % sample interval
dt = T/20; % time-resolution of continuous functions
cycle_per_sec = sam_per_sec/8; % sam_per_sec = 8 * cycle_per_sec (satisfies Nyquist)
figure
subplot(3,1,1)
xlim([-2 10])
ylim([-1.3 1.3])
% Plot cosine function
start_time_sec = -2;
stop_time_sec = 10;
x = start_time_sec : dt : stop_time_sec;
y = cos(2*pi*cycle_per_sec*x);
plot(x, y, "color", gold, "linewidth", 4)
box off % no border around plot please
hold on % same axes for next 3 plots
% Plot sine function
start_time_sec = 0;
stop_time_sec = 10;
x = start_time_sec : dt : stop_time_sec;
y = sin(2*pi*cycle_per_sec*x);
plot(x, y, "color", gold, "linewidth", 4)
% Sample cosine function at sample-rate (1/T)
start_time_sec = 0;
stop_time_sec = 8;
x = start_time_sec : T : stop_time_sec;
y = cos(2*pi*cycle_per_sec*x);
plot(x, y, "color", "black", ".")
% Sample sine function
y = sin(2*pi*cycle_per_sec*x);
plot(x, y, "color", "black", ".")
set(gca, "xaxislocation", "origin")
set(gca, "yaxislocation", "origin")
set(gca, "xgrid", "on");
set(gca, "ygrid", "off");
set(gca, "ytick", [0]);
set(gca, "xtick", [0:8]);
subplot(3,1,2)
xlim([-2 10])
ylim([-1.3 1.3])
cycle_per_sec2 = cycle_per_sec - sam_per_sec; % negative frequency
% Re-plot same cosine function on new axes
start_time_sec = -2;
stop_time_sec = 10;
x = start_time_sec : dt : stop_time_sec;
y = cos(2*pi*cycle_per_sec*x);
plot(x, y, "color", gold, "linewidth", 4)
box off
hold on
% Plot other cosine function
start_time_sec = -2;
stop_time_sec = 10;
x = start_time_sec : dt : stop_time_sec;
y = cos(2*pi*cycle_per_sec2*x);
plot(x, y, "color", "cyan", "linewidth", 4)
% Sample cosine functions at sample-rate (1/T)
start_time_sec = 0;
stop_time_sec = 8;
x = start_time_sec : T : stop_time_sec;
y = cos(2*pi*cycle_per_sec*x);
plot(x, y, "color", "black", ".")
set(gca, "xaxislocation", "origin")
set(gca, "yaxislocation", "origin")
set(gca, "xgrid", "on");
set(gca, "ygrid", "off");
set(gca, "ytick", [0]);
set(gca, "xtick", [0:8]);
subplot(3,1,3)
xlim([-2 10])
ylim([-1.3 1.3])
% Re-plot original sine function on new axes
start_time_sec = 0;
stop_time_sec = 10;
x = start_time_sec : dt : stop_time_sec;
y = sin(2*pi*cycle_per_sec*x);
plot(x, y, "color", gold, "linewidth", 4)
box off
hold on
% Plot other sine function
start_time_sec = -2;
stop_time_sec = 10;
x = start_time_sec : dt : stop_time_sec;
y = sin(2*pi*cycle_per_sec2*x);
plot(x, y, "color", "cyan", "linewidth", 4)
% Sample sine functions at sample-rate (1/T)
start_time_sec = 0;
stop_time_sec = 8;
x = start_time_sec : T : stop_time_sec;
y = sin(2*pi*cycle_per_sec*x);
plot(x, y, "color", "black", ".")
set(gca, "xaxislocation", "origin")
set(gca, "yaxislocation", "origin")
set(gca, "xgrid", "on");
set(gca, "ygrid", "off");
set(gca, "ytick", [0]);
set(gca, "xtick", [0:8]);
|
Perlesenan
Dengan ini, Bob K selaku pemegang hak cipta karya ini, menerbitkannya di bawah lesen yang berikut:
| Fail ini disediakan di bawah Dedikasi Domain Awam Sejagat CC0 1.0 Creative Commons. | |
| Pihak yang mengaitkan karya ini dengan surat ikatan ini telah mendedikasikan karya ini kepada domain awam dengan melepaskan segala haknya kepada karya ini di seluruh dunia di bawah undang-undang hak cipta, termasuk semua hak berkaitan dan berjiran, sejauh mana yang dibenarkan oleh undang-undang. Anda boleh menyalin, mengubah suai, mengedarkan dan mempersembahkan karya ini, termasuk untuk tujuan komersil, semuanya tanpa meminta kebenaran.
http://creativecommons.org/publicdomain/zero/1.0/deed.enCC0Creative Commons Zero, Public Domain Dedicationfalsefalse |
Captions
Add a one-line explanation of what this file represents
Items portrayed in this file
menggambarkan
27 Mac 2013
media type Inggeris
image/png
176af466b89d1b29d7b8c6750686d08053d33e6f
44,646 bait
452 piksel
694 piksel
Sejarah fail
Klik pada tarikh/waktu untuk melihat rupa fail tersebut pada waktu itu.
| Tarikh/Waktu | Gambar kenit | Ukuran | Pengguna | Komen | |
|---|---|---|---|---|---|
| semasa | 06:26, 27 Mac 2013 | 694 × 452 (44 KB) | wikimediacommons>Bob K | User created page with UploadWizard |
Penggunaan fail
Laman berikut menggunakan fail ini:
