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

to generate sawtooth waveform of very high frequency

Asked by V Vaishnavi Kumar on 30 Dec 2012

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 ?

0 Comments

V Vaishnavi Kumar

Products

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

2 Comments

V Vaishnavi Kumar on 30 Dec 2012

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

Azzi Abdelmalek on 30 Dec 2012

Yes, in configuration parameters to the whole model

Azzi Abdelmalek
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

0 Comments

V Vaishnavi Kumar

Contact us