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

Thread Subject:
Triangular wave generation

Subject: Triangular wave generation

From: Nagesh Kumar

Date: 15 May, 2007 06:23:18

Message: 1 of 2

Sir,

Can I get a MATLAB program for continous triangular wave with
amplitude 400 kV and varying with time. (like a sine wave with
amplitude 400kV and varying with time).

Please help me in this regard

Subject: Triangular wave generation

From: dave

Date: 15 May, 2007 07:31:51

Message: 2 of 2

Nagesh Kumar wrote:
>
>
> Sir,
>
> Can I get a MATLAB program for continous triangular wave with
> amplitude 400 kV and varying with time. (like a sine wave with
> amplitude 400kV and varying with time).
>
> Please help me in this regard
  
you didn't like my .5 amplitude wave? how about this:
>> x=1:10;
>> y=400000*2*(mod(x,2)-.5);
>> plot(y)

you'll have to supply the volts yourself, but sure looks like a 400kv
triangle to me.

Tags for this Thread

No tags are associated with this thread.

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

Contact us