help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: triangular wave


From: Thomas Ilnseher
Subject: Re: triangular wave
Date: Tue, 20 May 2008 10:02:16 +0200

Am Dienstag, den 20.05.2008, 04:09 -0300 schrieb javier:
> Sorry for my English 
> Someone knows how to create a vector with a triangular wave?
> And a square wave? 
> 
> Something like this but with a signal triangular: 
> 
> seno=10*sin(2*pi*10);
 x = [1:0.1:10];
 y = 2*abs(mod(x, 1) .- 0.5) - 1;
 plot(x, y);

> _______________________________________________
> Help-octave mailing list
> address@hidden
> https://www.cae.wisc.edu/mailman/listinfo/help-octave
> 
-- 
Thomas Ilnseher <address@hidden>



reply via email to

[Prev in Thread] Current Thread [Next in Thread]