Path: news.mathworks.com!newsfeed-00.mathworks.com!newsfeed2.dallas1.level3.net!news.level3.com!postnews.google.com!u25g2000prh.googlegroups.com!not-for-mail
From: Rick T <ratulloch@gmail.com>
Newsgroups: comp.soft-sys.matlab
Subject: how can I reduce frequency of a sine wave  tia sal22
Date: Thu, 5 Nov 2009 12:31:13 -0800 (PST)
Organization: http://groups.google.com
Lines: 22
Message-ID: <ed0ec526-8f73-4059-b0b7-de4ec68db00d@u25g2000prh.googlegroups.com>
NNTP-Posting-Host: 66.91.120.75
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
X-Trace: posting.google.com 1257453073 16801 127.0.0.1 (5 Nov 2009 20:31:13 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Thu, 5 Nov 2009 20:31:13 +0000 (UTC)
Complaints-To: groups-abuse@google.com
Injection-Info: u25g2000prh.googlegroups.com; posting-host=66.91.120.75; 
	posting-account=2mVVJwkAAAAUK8-LgNb3WEtDCbzGaekM
User-Agent: G2/1.0
X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.4) 
	Gecko/20091016 Firefox/3.5.4 (.NET CLR 3.5.30729),gzip(gfe),gzip(gfe)
Xref: news.mathworks.com comp.soft-sys.matlab:582858


Greetings All

I have the example below which produces 10 cycles
x=linspace(0,1,100);
sig=sin(2*pi*x*10);

plot(sig)
ylabel('sig')

What Type of signal would I need to add/multiple/divide to reduce it's
signal/frequency to 5 cycles?  I know I can just change the number 10
to 5 but I need to do it with another signal.  what mathematical
operation/signal do I need to use.

I tried these but they don't reduce the frequency to 5
sigmulti=sig.*sig;
sigxx=(sig.*sig);
sigdiv=sigxx./(sig.*sig*2);
sigadd=sig+sig;


tia sal22