RE: Triangle function
- To: mathgroup at smc.vnet.net
- Subject: [mg14451] RE: [mg14410] Triangle function
- From: "Ersek, Ted R" <ErsekTR at navair.navy.mil>
- Date: Wed, 21 Oct 1998 03:32:48 -0400
- Sender: owner-wri-mathgroup at wolfram.com
>Has Mathematica got a triangle function where I can choose the frequency
>and the amplitude?
>The function is necessary to describe a voltage source. It must be an
> /\ /\
>/ \/ \
I don't think so, but you can write a program for a function that will
do what you want. For example the program below defines a piecewise
linear function f[x]. I am not going to program the triangle wave for
you because it may very well be a homework assignment.
(* Plot of a periodic function not shown. *)
If you need to work with the Laplace transform of Fourier Series you
have to define the function in terms of the UnitStep function since
those operations do not deal with definitions like those above.
The UnitStep function is in the standard package Calculus`DiracDelta`.
Prev by Date:
Next by Date:
Previous by thread:
Next by thread:
Re: Triangle function