MATLAB Answers


to generate sawtooth waveform of very high frequency

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 ?


2 Answers

Answer by Azzi Abdelmalek
on 30 Dec 2012
Edited by Azzi Abdelmalek
on 30 Dec 2012
 Accepted 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


k,hope i have to set a fixed step solver in configuration parameters to the whole model...? or by any other way

Yes, in configuration parameters to the whole model

Answer by V Vaishnavi Kumar on 1 Jan 2013

For using variable step solver, increase refine factor in Data Import/Export pane in Configuration parameters


Join the 15-year community celebration.

Play games and win prizes!

Learn more
Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

MATLAB Academy

New to MATLAB?

Learn MATLAB today!