Page 1 of 1

#inlcude <complex.h>

Posted: Sat May 02, 2009 9:53 pm
by rfmatchguy
I didn't see a complex.h library.
Is there any way of getting this functionality for the Netburner?
Maybe there is a way to import from the GNU compiler?

Just converting R and X into VSWR and Gamma...

Also, has anyone made a web app for Netburner to display a Smith chart?
Any help much appreciated.

Re: #inlcude <complex.h>

Posted: Sun May 03, 2009 6:26 am
by Ridgeglider
see C:\Nburn\gcc-m68k\m68k-elf\include\c++\4.2.1\backward\complex.h
also see complex.html in C:\nburn\gcc-m68k\share\doc\freescale-coldfire-4.2-8-m68k-elf\html\gcc

Re: #inlcude <complex.h>

Posted: Tue May 05, 2009 12:37 pm
by Forrest
rfmatchguy wrote:Also, has anyone made a web app for Netburner to display a Smith chart?
Any help much appreciated.
I've never used a smith chart, but if you can figure out the X and Y coordinate of your point (with whatever function you'd need to use to do this), you can superimposed those points on top of a static image of a smith chart using AJAX.

I used this method to plot satellites on a GPS sphere map. You can see this at http://demo.netburner.com:84/status.html. The source for this is posted in the application examples subforum.