If you are serious about learning, start by looking up the formulas that will be needed. Write a short piece of code that just does one step, say, converting db to linear value.
The bit about command-line file makes me think that this is a homework problem just typed in verbatim. Do you already know how to read the input with the file name on the command line, or are you totally new to Perl? In that case, start with "hello world".
Also, the name of the language is Perl (and the name of the implementation is perl), not PERL. And we talk (type?) like adults here, even the kids. No IM abbreviations or spam-like titles to get attention -- that will just put people off.
Also, mark your paragraphs. Use the preview!
| [reply] |
| [reply] |
Show us what code you've already written and where your problem is. It's hard to help you wihtout knowing where you encounter your problems.
You might want to note that this is neither a homework solution site nor is it a script writing site. We provide guidance but we don't do your work for you.
| [reply] |
codeshark:
That sounds like a pretty nifty program. It's one that I'd *love* to help you with. But as the other distinguished monks have mentioned, most here aren't here to code programs for you, but to assist. (Though many will write the code for you provided that (a) they're bored enough that they're looking for something to do, and (b) the problem looks interesting enough.)
...roboticus | [reply] |
or (c) that you pay according to their usual fee schedule
| [reply] |
| [reply] |
You should google for "gnuplot antenna z axis", see what they are doing, and adapt it to your problem. The Perl part is the easiest, and you have 2 choices.... write your gnuplot script in the gnuplot script style and feed it to the c gnuplot program via IPC in the Perl script; OR use Term::GnuplotThe hard part is figuring out your formulas, and putting into a gnuplot script. A good start is at gnuplot-3d You would be better off asking this on a gnuplot maillist ( of course your teacher will see your posts. as well as this one, so if you want a good grade, do it yourself). :-)
| [reply] |
| [reply] |