Does CPLua support the FFT from the CP's CAS? This could REALLY be useful.
EDIT: I suspect the problem is CPLua's lack of support for complex numbers, maybe?
![Photo](https://secure.gravatar.com/avatar/3f9f0dffbceb9a3cb2f2437dfb378499?s=100&d=https%3A%2F%2Fcommunity.casiocalc.org%2Fdot%2Fpublic%2Fstyle_images%2Fmaster%2Fprofile%2Fdefault_large.png)
Fast Fourier Transform
Started by
Quadricode
, Feb 12 2007 12:54 AM
5 replies to this topic
#1
Posted 12 February 2007 - 12:54 AM
#2
Posted 12 February 2007 - 07:54 AM
If you have the OS 3.0 or 3.01, yes it does.
![;)](/dot/public/style_emoticons/default/wink2.gif)
#3
Posted 12 February 2007 - 08:19 PM
How do you use the FFT?
I have tried:
However, I get no result.
I have tried:
require("cas") a=cas("{1,2,3,4}") b=cas.FFT(a,1) print(b)
However, I get no result.
![:hammer:](/dot/public/style_emoticons/default/hammer.gif)
#4
Posted 13 February 2007 - 12:43 PM
Hmm... Yes it doesn't work.
But this works well.
But this works well.
require("cas") b=cas("FFT({1,2,3,4},1)") print(b)
#5
Posted 13 February 2007 - 07:35 PM
Ah. All of it works perfectly now. I did not have my calculator in complex mode.
![^_^](/dot/public/style_emoticons/default/happy.png)
#6
Posted 14 February 2007 - 11:39 AM
Yeah, I think Orwell should add a mode setup function some day, as cas("SetComplex") doesn't work.
![^_^](/dot/public/style_emoticons/default/happy.png)
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users