help-octave
[Top][All Lists]
Advanced

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

Re: Matlab code


From: Andy Buckle
Subject: Re: Matlab code
Date: Tue, 6 Aug 2013 07:58:41 +0100




On 6 August 2013 07:40, zachary <address@hidden> wrote:
Hi everyone;
I am facing difficulties solving this problem .The question is
plot a square wave with amplitude 1 and period 1 .The figure is as shown
below .
Doc1.docx <http://octave.1599824.n4.nabble.com/file/n4656424/Doc1.docx>

Probably a few ways to do this. I would use repmat for y, repmat and cumsum for x. then plot(x,y). I refrain from giving you the answer, for the same reasons as everyone else: you will grow as a person if you do your own homework.

--
/* andy buckle */

reply via email to

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