The code below can generate triangular wave in Matlab. A=2; t = 0:0.0005:1; x=A*sawtooth(2*pi*5*t,0.25); %5 Hertz wave with duty cycle 25% plot(t,x); grid axis([0 1 -3 3]);
period.
1kHz
For waves the unit of one wave cycle per second is Hertz
Such is called the period of the wave. The period is the reciprocal of the frequency.
The code below can generate triangular wave in Matlab. A=2; t = 0:0.0005:1; x=A*sawtooth(2*pi*5*t,0.25); %5 Hertz wave with duty cycle 25% plot(t,x); grid axis([0 1 -3 3]);
Square
Square Wave
RMS is an average. If you have a 50% duty square wave, the average will be 1/2 the peak. for a 33.3% duty cycle, the average will be 1/3 the peak, etc. VRMS = Vpeak x duty cycle
Duty cycle is a measure used to describe the symmetry of a square wave and refers to the percentage of the time that it spends at high level. For example if you have a 1 Mhz square wave the period will be 1us and if it is at high logic level for 0.5us and low for 0.5us, that will have a duty cycle of 50%.
Duty cycle is a measure used to describe the symmetry of a square wave and refers to the percentage of the time that it spends at high level. For example if you have a 1 Mhz square wave the period will be 1us and if it is at high logic level for 0.5us and low for 0.5us, that will have a duty cycle of 50%.
The duty cycle is (positive time) divided by (total cycle time) = 2/6 = 1/3 or 33.3 %
Triangular wave generator is a device (for eg NE555 timer) that generates a triangular wave by integrating a square wave. In applications an ICL8038 IC can be used to generate all types of waves.
Amplitude period Rise Time (square wave) Fall Time (Square wave) Duty-Cycle (Square Wave)
The monostable provides a square wave, which can be converted into a triangular wave by putting it through an integrator.
If its a triangular wave, its not DC, its AC, its just not sinusoidal. Can a transformer operate on triangular AC? Yes, but not as efficiently as on sinusoidal AC.
The fifth harmonic of a 500 Hz triangular wave would be at a frequency of 2500 Hz. This means that the fifth harmonic would have a frequency that is five times the fundamental frequency of the triangular wave.