Example Signal:
Sunday, March 23, 2025
Signal Processing with Butterworth(Low Pass) Filter
Sunday, March 16, 2025
Laplace Transform with Python
Laplace transform is an effective method for solving ordinary and partial differential equations, and it has been successful in many applications. These equations describe how certain quantities change over time, such as the current in an electrical circuit, the vibrations of a membrane, or the flow of heat through a conductor. The Laplace transform helps converts differential equations into simpler algebraic equations. Both the Laplace transform and its inverse are important tools for analyzing dynamic control systems. The Laplace transform changes a signal in the time domain into a signal in the s-domain, also called the splane, which can then be solved by the formal rules of algebra.
Example
Coding
from sympy import *
t = Symbol('t', real=True)
s = Symbol('s', real=True, positive=True)
a = Symbol('a', real=True, positive=True)
f = t*exp(-a*t)
laplace_transform(f,t,s, noconds=True)
References:
1. https://www.geeksforgeeks.org/laplace-transform/
2. https://en.wikipedia.org/wiki/Laplace_transform
3. https://www.analog.com/media/en/technical-documentation/dsp-book/dsp_book_Ch32.pdf
Python to solve ODE(ordinary differential equations)
Python to solve ODE(ordinary differential equations)
Coding
ResultsThursday, March 13, 2025
How to Install Python Anaconda On Your Window Laptop?
I think Python Anaconda is free for personal use for research etc. And it has quite some libraries ready for use.
1. Go to Anaconda.com. Click on 'Free Download' on the upper right corner. Provide your email address, then go to the link send to your email to download the installer. Install as per the instructions show. Tick on 'Launch Anaconda Navigator' and 'Getting Started with Anaconda Distribution'.
2. After the installation completed, launch Anaconda Navigator from your window. Launch the Jupyter notebook.
3. Google search on how to enable local host in your window, or how to enable IIS in window. After that, go to the Jupyter launched in the Microsoft Edge.
4. You can now use the python in the Jupyter.
Sunday, March 2, 2025
Serialization
Serialization is the process of converting a data object into a byte stream. Serialization converts objects in any programming language to 1’s and 0’s that can be understood by any computer hardware irrespective of the language they are using.
RS232 and RS485 are both serialization port. Both serial communication standards made major impacts on the industry. However, most RS232 ports have been replaced in personal computers by USB today. This is due to USBs’ advantages of being faster, having lower voltages, and having connectors that are simple to connect and use.
Figure 1: https://medium.com/@mk8961052/serialization-and-deserialization-in-java-75742c5f9b21
References:
1. https://medium.com/@hatim.zahid/serialization-and-deserialization-how-data-travels-in-a-computer-network-13f61dc225c4
2. https://www.seeedstudio.com/blog/2019/12/06/what-is-rs485-and-its-difference-between-rs232/
