Skip to Main Content Skip to Search
Login
File Exchange
MATLAB Newsgroup
Link Exchange
  Blogs  
 Contest 
MathWorks.com

Thread Subject: sample a sine wave with square wave

Subject: sample a sine wave with square wave

From: fas

Date: 4 Jul, 2008 01:07:36

Message: 1 of 3

Hi
I would like to sample a sing wave with a square wave. Can anyone help
me how to implement it in MATLAB

Subject: sample a sine wave with square wave

From: fas

Date: 4 Jul, 2008 01:19:55

Message: 2 of 3

On Jul 4, 11:07 am, fas <faisalmu...@gmail.com> wrote:
> Hi
> I would like to sample a sing wave with a square wave. Can anyone help
> me how to implement it in MATLAB

In other words I want to convolve a sine with a square wave(rect)

Subject: sample a sine wave with square wave

From: Srikanth

Date: 4 Jul, 2008 07:03:59

Message: 3 of 3


> In other words I want to convolve a sine with a square wave(rect)
You can create a sampled sine wave using the sin function (the result
is a vector). You can create a rectangular wave (vector) by using a
hard limiter on a DC shifted sine wave. The use the conv command -
this is the numerical result. I'm not sure how you would go about
getting a symbolic answer for this in Matlab

Tags for this Thread

Add a New Tag:

Separated by commas
Ex.: root locus, bode

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.

rssFeed for this Thread

envelope graphic E-mail this page to a colleague

Public Submission Policy
NOTICE: Any content you submit to MATLAB Central, including personal information, is not subject to the protections which may be afforded information collected under other sections of The MathWorks, Inc. Web site. You are entirely responsible for all content that you upload, post, e-mail, transmit or otherwise make available via MATLAB Central. The MathWorks does not control the content posted by visitors to MATLAB Central and, does not guarantee the accuracy, integrity, or quality of such content. Under no circumstances will The MathWorks be liable in any way for any content not authored by The MathWorks, or any loss or damage of any kind incurred as a result of the use of any content posted, e-mailed, transmitted or otherwise made available via MATLAB Central. Read the complete Disclaimer prior to use.
Related Topics