MATLAB: To generate sawtooth waveform of very high frequency

high frequencysawtoothsignal generatorsimulink

I generated sawtooth waveform from signal generator and repeating sequence, but for a frequency such as 8 Hz, the wave shape is irregular, and for frequencies such as kHz, the waveform is not a periodic one itself.
how high frequency sawtooth can be created ?

Best Answer

I think you have to decrease your fixed step, for 8 Hz set your step time to (1/8)/30, if f is your higher frequency, choose (1/f)/30
Related Question