In simulink, what is the maximal sampling frequency of the analog inputs ?

1 view (last 30 days)
hello I tried to acquire an analog signal (sinusoidal shape with a frequency of 50Hz) using MATLAB/SIMULINK and an analog input pin of ARDUINO MEGA 2560. The model was run in external mode. However, the visualised signal does not match the original signal; it has a discontinuous shape Is that due to the sampling frequency of the analog input ? I use a sampling frequency of 0.0001 seconds attached is the program that I have used Thank you for your help Best regards

Answers (0)

Categories

Find more on Arduino Hardware in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!