Simple Differential eq. question

  • Thread starter Thread starter itsjuly13
  • Start date Start date
  • Tags Tags
    Differential
Click For Summary
SUMMARY

This discussion focuses on defining low and high-frequency signals, as well as filter transfer functions in the context of signal processing using Mathematica. The user seeks guidance on how to implement these concepts programmatically, specifically through the use of functions and Laplace transforms. Key tools mentioned include Mathematica for graphing and performing transformations, with specific examples provided for defining functions and executing Laplace transforms. The importance of syntax in Mathematica is emphasized, highlighting the need for precision in coding.

PREREQUISITES
  • Understanding of signal processing concepts, specifically low and high-frequency signals.
  • Familiarity with filter transfer functions and their mathematical representation.
  • Basic knowledge of Mathematica, including function definition and plotting.
  • Proficiency in performing Laplace transforms and inverse Laplace transforms.
NEXT STEPS
  • Learn how to define and manipulate low and high-frequency signals in Mathematica.
  • Explore the implementation of filter transfer functions using Mathematica syntax.
  • Study the process of performing Laplace transforms and inverse Laplace transforms in Mathematica.
  • Investigate the effects of different filters on signal processing and how to visualize these effects in Mathematica.
USEFUL FOR

Students and professionals in electrical engineering, signal processing, and applied mathematics who are looking to deepen their understanding of signal definitions and filter design using Mathematica.

itsjuly13
Messages
2
Reaction score
0
Hi. I need help getting started with the following problem. The second part I think would be easy but I'm a little confused on the first part.

Part 1.
Define f1(t):Low Frequency signal.
f2(t) High Frequency signal.
h(t) Filter transfer Function.

Part 2.
Then, I would use mathematica to graph f1, f2,h.
Find the Laplace Transforms F1, F1, H.
outputs: F1-F1*H, G1=F1*H.
Inverse Laplace Transforms g1, g2 of G1, G2.
Then Discuss the filter Effects.

My question is. How would I define a Low/High frequency signal? and the filter transfer function? Any help/Guidance would be appreciated.
Thanks.
 
Physics news on Phys.org
This might help introduce you to writing functions in Mathematica

http://reference.wolfram.com/mathematica/tutorial/DefiningFunctions.html

This is a tiny example that might help you get started.

Code:
In[1]:= f1[t_] := Sin[2 Pi t];

In[2]:= Plot[f1[t], {t, -2, 2}]

Out[2]= ...PlotSnipped...

In[3]:= LaplaceTransform[f1[t], t, s]

Out[3]= (2 Pi)/(4 Pi^2 + s^2)

In[4]:= InverseLaplaceTransform[2 Pi/(4 Pi^2 + s^2), s, t]

Out[4]= Sin[2 Pi t]

Mathematica is FANATIC about correct capitalization and correct use of () versus [] versus {} and = versus := versus == and there is even an === and they are all completely different. Make any tiny mistake with anyone of those and you will get error messages you don't know what to do with or incorrect results or even nothing at all.
 
Bill Simpson said:
This might help introduce you to writing functions in Mathematica

http://reference.wolfram.com/mathematica/tutorial/DefiningFunctions.html

This is a tiny example that might help you get started.

Code:
In[1]:= f1[t_] := Sin[2 Pi t];

In[2]:= Plot[f1[t], {t, -2, 2}]

Out[2]= ...PlotSnipped...

In[3]:= LaplaceTransform[f1[t], t, s]

Out[3]= (2 Pi)/(4 Pi^2 + s^2)

In[4]:= InverseLaplaceTransform[2 Pi/(4 Pi^2 + s^2), s, t]

Out[4]= Sin[2 Pi t]

Mathematica is FANATIC about correct capitalization and correct use of () versus [] versus {} and = versus := versus == and there is even an === and they are all completely different. Make any tiny mistake with anyone of those and you will get error messages you don't know what to do with or incorrect results or even nothing at all.

Thank you Bill.

How would I go about defining a transfer function?
 

Similar threads

Replies
6
Views
1K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 8 ·
Replies
8
Views
3K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 7 ·
Replies
7
Views
2K
Replies
10
Views
3K
Replies
2
Views
1K
  • · Replies 3 ·
Replies
3
Views
2K