A collection of small electrical engineering projects and signal‑processing projects, implemented mainly in Python, MATLAB, and C.
Each project lives in its own folder with a dedicated README, code, and (sometimes!) generated figures.
Libraries frequently used: NumPy, Matplotlib, SciPy, SymPy, Pandas (Python) | Signal Processing Toolbox (MATLAB).
Folder: dtft-rectangular-pulse/
Language: Python (Jupyter Notebook)
Keywords: DTFT, Dirichlet kernel, spectral analysis, geometric series, EMF export
Folder: Comparing_Sawtooth_and_Rectified sine waveform/
Language: C (signal generation), MATLAB (plotting)
Keywords: PWM, comparator, sawtooth carrier, rectified sine envelope, envelope tracking, duty cycle
##How to use? ###Clone the repository:
git clone https://github.com/mojjss/Electrical-Small-Projects.git
cd Electrical-Small-Projects- Open MATLAB and navigate to the project folder.
- Run the
.mscript or call the functions as described in the project’s own README.
This repository is licensed under the MIT License – see the LICENSE file for details.
Feel free to use the code for your own learning, teaching, or research.
Maintained by Mojtaba Sadafi