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 ?

 Accepted Answer

Azzi Abdelmalek
Azzi Abdelmalek on 30 Dec 2012
Edited: Azzi Abdelmalek on 30 Dec 2012
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

2 Comments

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

Sign in to comment.

More Answers (2)

For using variable step solver, increase refine factor in Data Import/Export pane in Configuration parameters
I am new to simulink and i am having the same problem. How can i change the fixed step? I dont know where to find it.

Products

Community Treasure Hunt

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

Start Hunting!