Need to find cutoff frequency using frequency spectrum

frequency 100Hz,amplitude 2 phase=0 i generate sine wave,add 100hz noise and get a frequnecy spectrum using FFT in matlab.i want to dicide the type of filter and cutoff frequency to be used to elimate the noise using this frequency spectrum how to do that using matlab?
thank you,

Produits

Version

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by