This project demonstrates how to plot both continuous and discrete sine waves using MATLAB. It includes a MATLAB script that generates and visualizes a sine wave with a specified frequency and sampling rate. The plot shows both continuous and discrete representations of the sine wave.
sine_wave_plot.m
: MATLAB script to generate and plot the continuous and discrete sine waves.
- MATLAB (R2020b or later recommended)
- Open MATLAB.
- Navigate to the directory containing the
sine_wave_plot.m
file. - Run the script by typing
sine_wave_plot
in the MATLAB command window.
sine_wave_plot