Post Reply 
Classic Fourier Series
02-01-2015, 08:37 PM (This post was last modified: 02-01-2015 08:47 PM by Snorre.)
Post: #27
RE: Classic Fourier Series
Hello Salvo,

you're right. In general, changing the integration interval is like shifting the time function, which should result in different phase information only (the magnitudes shall stay the same).
But that holds only for periodic functions (a basic assumption of fourier transformations). If you transform f(t):=t² in -pi..pi, you're assuming f is an endless repetition of the cup-like part pi²..0..pi² (in ASCII-art: ...uuuu...), if you do it on 0..2pi you're assuming f is an endless repetition of the raising 0..pi²..4pi² chunk (in ASCII-art: ...////...) -- these are two different time functions.

You could put your choose box in a non-exported (private) PPL-function within the same program and call it like <programname>.<funcname>:
Code:
ChooseInterval()
BEGIN
  LOCAL choice;
  CHOOSE(choice,...);
  RETURN choice;
END;

#cas
fourcoeff(...):=
BEGIN
  ...
  IF MYFOURIERPROG.ChooseInterval()=1 THEN
   ak:=...-pi..pi...
  ELSE
   ak:=...0..2*pi...
  END;
  ...
END;
#end
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
Classic Fourier Series - salvomic - 01-27-2015, 07:15 PM
RE: Classic Fourier Series - Snorre - 01-30-2015, 05:20 PM
RE: Classic Fourier Series - salvomic - 01-30-2015, 06:07 PM
RE: Classic Fourier Series - salvomic - 01-30-2015, 06:48 PM
RE: Classic Fourier Series - Han - 01-30-2015, 07:23 PM
RE: Classic Fourier Series - salvomic - 01-30-2015, 07:32 PM
RE: Classic Fourier Series - Han - 01-30-2015, 07:54 PM
RE: Classic Fourier Series - salvomic - 01-30-2015, 09:06 PM
RE: Classic Fourier Series - Han - 01-31-2015, 12:05 AM
RE: Classic Fourier Series - salvomic - 01-31-2015, 06:27 AM
RE: Classic Fourier Series - Tim Wessman - 01-31-2015, 09:29 PM
RE: Classic Fourier Series - salvomic - 01-31-2015, 09:47 PM
RE: Classic Fourier Series - Snorre - 01-31-2015, 09:11 PM
RE: Classic Fourier Series - salvomic - 01-31-2015, 09:53 PM
RE: Classic Fourier Series - Han - 02-01-2015, 03:10 AM
RE: Classic Fourier Series - rprosperi - 02-01-2015, 03:22 AM
RE: Classic Fourier Series - Han - 02-01-2015, 03:51 AM
RE: Classic Fourier Series - salvomic - 02-01-2015, 09:32 AM
RE: Classic Fourier Series - salvomic - 02-01-2015, 01:52 PM
RE: Classic Fourier Series - Snorre - 02-01-2015, 05:12 PM
RE: Classic Fourier Series - salvomic - 02-01-2015, 05:34 PM
RE: Classic Fourier Series - salvomic - 02-01-2015, 05:55 PM
RE: Classic Fourier Series - salvomic - 02-01-2015, 07:06 PM
RE: Classic Fourier Series - salvomic - 02-03-2015, 08:06 PM
RE: Classic Fourier Series - Snorre - 02-01-2015, 06:13 PM
RE: Classic Fourier Series - salvomic - 02-01-2015, 06:16 PM
RE: Classic Fourier Series - Snorre - 02-01-2015 08:37 PM
RE: Classic Fourier Series - salvomic - 02-01-2015, 09:14 PM
RE: Classic Fourier Series - Snorre - 02-01-2015, 09:31 PM
RE: Classic Fourier Series - salvomic - 02-01-2015, 09:47 PM
RE: Classic Fourier Series - Snorre - 02-01-2015, 10:19 PM
RE: Classic Fourier Series - salvomic - 02-01-2015, 10:33 PM
RE: Classic Fourier Series - Snorre - 02-01-2015, 10:39 PM
RE: Classic Fourier Series - salvomic - 02-01-2015, 11:00 PM
RE: Classic Fourier Series - salvomic - 02-01-2015, 11:24 PM
RE: Classic Fourier Series - salvomic - 02-02-2015, 10:59 AM
RE: Classic Fourier Series - salvomic - 04-11-2015, 05:35 AM
RE: Classic Fourier Series - StephenG1CMZ - 10-09-2015, 09:37 PM
RE: Classic Fourier Series - salvomic - 10-10-2015, 07:38 AM



User(s) browsing this thread: 1 Guest(s)