Skip to content

Commit

Permalink
Fixed up Figure 1
Browse files Browse the repository at this point in the history
Figure 1 actually had a rate of pi/8192 rads per second squared, not the documented pi/16384. Also, there were other issues with the figure that were merely annoying.
  • Loading branch information
FrankReiser committed Feb 2, 2024
1 parent 1c2346e commit 3c93ddf
Show file tree
Hide file tree
Showing 3 changed files with 1,173 additions and 1,173 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,8 @@ Figure 1 - Example Chirping Phasor Sample Series Data
![Figure 1](graphics/figure1.svg)

From the figure, we can see a linearly increasing frequency. The data is complex in nature. If you only
need the imaginary value, that can be extracted. The real value is calculated simultaneously for free
and may be useful for compensating for, or for creating doppler shifts with complex signal data.
need the 'real' or 'imaginary' value, either can be extracted. They are calculated simultaneously for the
price of one. For DSP applications, you most likely would require both.

# Interface Compatibility
This component has been tested to be interface-able with C++20 compiles. Note that the compiled library code
Expand Down
4 changes: 2 additions & 2 deletions graphics/PlotNotes.txt
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ gnuplot
set term svg size 520, 360 font "Helvetica,12" background rgb "grey90"
set output 'figure1.svg'
set xrange [0:1023]
set yrange [-1.5:1.5]
set yrange [-1.5:1.6]
set xtics 128
set ytics 0.5
set grid xtics
Expand All @@ -29,4 +29,4 @@ set title "ChirpingPhasor accel=pi/16384, omega0=0.0, phi=0.0"
set title "ChirpingPhasor accel=pi/16384 rads/sample^2, omega0=0.0, phi=0.0"

# This is one long line, not two lines. Output goes directly to the file 'figure1.svg'.
plot 'chirpingPhasorB32.in' binary format="%uint%float%float" using 1:3 with lines title "imag(n)", 'chirpingPhasorB32.in' binary format="%uint%float%float" using 1:2 with dots title "real(n)"
plot 'chirpingPhasorB32.in' binary format="%uint%float%float" using 1:2 with lines title "real(n)", 'chirpingPhasorB32.in' binary format="%uint%float%float" using 1:3 with dots title "imag(n)"
Loading

0 comments on commit 3c93ddf

Please sign in to comment.