## Introduction: Sampling Analogue Signal Tutorial | MATLAB

In this tutorial, we are showing what is Sampling? and How to sampled an analogue signal using MATLAB software.

### Teacher Notes

Teachers! Did you use this instructable in your classroom?

Add a Teacher Note to share how you incorporated it into your lesson.

## Step 1: What Is Sampling?

Conversion of Analogue Signal (xt) to Digital Signal (xn) is known as Sampling.

A continuous time signal can be represented by its samples and can be recovered back when sampling Freq (Fs) is greater than or equals to twice the message signal (Nyquist Rate).

## Step 2: Display Commands to Enter Frequency

Enter Frequency of Message signal and Sampling Frequency.

## Step 3: Specify Time Range of Signal

## Step 4: Write Formula

As:

x=sin(2*3.14*f*t)

## Step 5: Write Sampling Formula

As:

y=sin(2*3.14*f*ts/fs)

## Step 6: Enter Frequency

## Step 7: Result

Upper Signal: Orignal

Lower Signal: Sampled

## Step 8: Complete Video Tutorial

LIKE , Share , Subscribe and Comment us to get more videos.

## Discussions

Question 6 months ago

Hey! I had a question about ts. How should I select the range and step of ts? Like here t = 0:0.1:100 but ts = 0:10:1000.