Recent content by benjamin p north
-
B
Data compression with lissajous curve
I was trying to take two numbers between zero and one and compress them into one number in a way that you can use trig to get back the original two numbers. Eg. X= cos t y=sin (sqrt2*t) Plug in x and y. Then solve for t. You can use t later to get back x and y. Hopefully t is shorter to...- benjamin p north
- Post #3
- Forum: Programming and Computer Science
-
B
Data compression with lissajous curve
I was hoping this c++ file could be adapted to use as data compression or encryption #include <iostream> #include <cmath> using namespace std; double asil(double t) { count<<"asil\n"; count<< cos(t) << endl; double two = 2.0; count<< sin(sqrt(two)*t) << endl; return sin(sqrt(two)*t); }...- benjamin p north
- Thread
- Compression Curve Data
- Replies: 2
- Forum: Programming and Computer Science