SlideShare a Scribd company logo
1 of 1
Download to read offline
EX.NO-1:SAMPLING AND ALIASING EFFECTS
January 28,
2016
Dr.C.Muniraj | EEE-KSRCT
Problem Ex2.1
A single phase inverter with filter supply the three different frequency (25Hz,35Hz,50Hz)output
voltage waveform to single phase induction motor for the speed control operations. Generate
the discrete voltage waveform for the above different frequency by the sampling frequency of
15 Hz, 50Hz, 100Hz, 200Hz. write your comments on aliasing effects.
sample progrmme
% sampling and aliasing effects
clear all
close all
clc
% lest assume signal having three frequency values
f1=50;%Hz
f2=100;%Hz
f3=200;%Hz
% Let assume the different sampling frequecy values
Fm1=100;%Hz(F<2fm)
Fm2=200;%Hz (Fm=fm)
Fm3=400; %Hz(Fm=2fm)
Fm4=800; %Hz(Fm>2fm)
% volage equation for sampling freqency Fm1
T=[0:1/Fm2:0.04];
Vm=1;
V1=Vm*sin(2*pi*f1*T);
V2=Vm*sin(2*pi*f2*T);
V3=Vm*sin(2*pi*f3*T);
% plot the voltage waveforms
figure(1)
plot(T,V1,'-or');
hold on
plot(T,V2,'-ko');
hold on
plot(T,V3,'-g*');
legend ('50Hz','100Hz','200Hz')
xlabel('samples')
ylabel('magnitude')

More Related Content

Similar to DSP Laboratory M File Program

Analog Communication Engineering Lab Manual
Analog Communication Engineering Lab ManualAnalog Communication Engineering Lab Manual
Analog Communication Engineering Lab ManualAmairullah Khan Lodhi
 
ECE 17 Final Presentation Portable Ultrasound Driver
ECE 17 Final Presentation Portable Ultrasound DriverECE 17 Final Presentation Portable Ultrasound Driver
ECE 17 Final Presentation Portable Ultrasound Driverrivasd1214
 
RiseFalltime031114.pptx
RiseFalltime031114.pptxRiseFalltime031114.pptx
RiseFalltime031114.pptxVignesh899811
 
NUmerical_Modulation index_techniques.pdf
NUmerical_Modulation index_techniques.pdfNUmerical_Modulation index_techniques.pdf
NUmerical_Modulation index_techniques.pdfjaibirthakran47
 
Ch4 2 _fm modulator and demodulator15
Ch4 2 _fm modulator and demodulator15Ch4 2 _fm modulator and demodulator15
Ch4 2 _fm modulator and demodulator15Jyothirmaye Suneel
 
Close Loop V/F Control of Voltage Source Inverter using Sinusoidal PWM, Third...
Close Loop V/F Control of Voltage Source Inverter using Sinusoidal PWM, Third...Close Loop V/F Control of Voltage Source Inverter using Sinusoidal PWM, Third...
Close Loop V/F Control of Voltage Source Inverter using Sinusoidal PWM, Third...IAES-IJPEDS
 
Homework1 ogo8842
Homework1 ogo8842Homework1 ogo8842
Homework1 ogo8842oolaleye1
 
Harmonics & Transformers
Harmonics & TransformersHarmonics & Transformers
Harmonics & TransformersMichael Larkin
 
Wireless/Wired Automatic Switched Plasma Tweeter & Speaker System
Wireless/Wired Automatic Switched Plasma Tweeter & Speaker SystemWireless/Wired Automatic Switched Plasma Tweeter & Speaker System
Wireless/Wired Automatic Switched Plasma Tweeter & Speaker SystemIOSRJECE
 
Detection of Power Line Disturbances using DSP Techniques
Detection of Power Line Disturbances using DSP TechniquesDetection of Power Line Disturbances using DSP Techniques
Detection of Power Line Disturbances using DSP TechniquesKashishVerma18
 
Bus ele tech_lib_electrical_formulas
Bus ele tech_lib_electrical_formulasBus ele tech_lib_electrical_formulas
Bus ele tech_lib_electrical_formulasCasi G Morales
 
Fundamentals of Analog and Digital Modulation PPT.pptx
Fundamentals of Analog and Digital  Modulation PPT.pptxFundamentals of Analog and Digital  Modulation PPT.pptx
Fundamentals of Analog and Digital Modulation PPT.pptxSarmistaSengupta1
 
Lab 2 Report More Linear Operational Amplifiers
Lab 2 Report More Linear Operational AmplifiersLab 2 Report More Linear Operational Amplifiers
Lab 2 Report More Linear Operational AmplifiersKatrina Little
 
Electrónica: TEA5570 Circuito RF / IF de radio AM / FM (Datasheet)
Electrónica: TEA5570 Circuito RF / IF de radio AM / FM (Datasheet)Electrónica: TEA5570 Circuito RF / IF de radio AM / FM (Datasheet)
Electrónica: TEA5570 Circuito RF / IF de radio AM / FM (Datasheet)SANTIAGO PABLO ALBERTO
 
L25 resonance
L25 resonanceL25 resonance
L25 resonanceSatyakam
 
Operational Amplifier
Operational AmplifierOperational Amplifier
Operational AmplifierVARUN KUMAR
 

Similar to DSP Laboratory M File Program (20)

Analog Communication Lab Manual
Analog Communication Lab ManualAnalog Communication Lab Manual
Analog Communication Lab Manual
 
Analog Communication Engineering Lab Manual
Analog Communication Engineering Lab ManualAnalog Communication Engineering Lab Manual
Analog Communication Engineering Lab Manual
 
Frequency deviation
Frequency deviation Frequency deviation
Frequency deviation
 
ECE 17 Final Presentation Portable Ultrasound Driver
ECE 17 Final Presentation Portable Ultrasound DriverECE 17 Final Presentation Portable Ultrasound Driver
ECE 17 Final Presentation Portable Ultrasound Driver
 
RiseFalltime031114.pptx
RiseFalltime031114.pptxRiseFalltime031114.pptx
RiseFalltime031114.pptx
 
NUmerical_Modulation index_techniques.pdf
NUmerical_Modulation index_techniques.pdfNUmerical_Modulation index_techniques.pdf
NUmerical_Modulation index_techniques.pdf
 
F Comm 8 FM.pptx
F Comm 8 FM.pptxF Comm 8 FM.pptx
F Comm 8 FM.pptx
 
Ch4 2 _fm modulator and demodulator15
Ch4 2 _fm modulator and demodulator15Ch4 2 _fm modulator and demodulator15
Ch4 2 _fm modulator and demodulator15
 
blake sample-problems
blake sample-problemsblake sample-problems
blake sample-problems
 
Close Loop V/F Control of Voltage Source Inverter using Sinusoidal PWM, Third...
Close Loop V/F Control of Voltage Source Inverter using Sinusoidal PWM, Third...Close Loop V/F Control of Voltage Source Inverter using Sinusoidal PWM, Third...
Close Loop V/F Control of Voltage Source Inverter using Sinusoidal PWM, Third...
 
Homework1 ogo8842
Homework1 ogo8842Homework1 ogo8842
Homework1 ogo8842
 
Harmonics & Transformers
Harmonics & TransformersHarmonics & Transformers
Harmonics & Transformers
 
Wireless/Wired Automatic Switched Plasma Tweeter & Speaker System
Wireless/Wired Automatic Switched Plasma Tweeter & Speaker SystemWireless/Wired Automatic Switched Plasma Tweeter & Speaker System
Wireless/Wired Automatic Switched Plasma Tweeter & Speaker System
 
Detection of Power Line Disturbances using DSP Techniques
Detection of Power Line Disturbances using DSP TechniquesDetection of Power Line Disturbances using DSP Techniques
Detection of Power Line Disturbances using DSP Techniques
 
Bus ele tech_lib_electrical_formulas
Bus ele tech_lib_electrical_formulasBus ele tech_lib_electrical_formulas
Bus ele tech_lib_electrical_formulas
 
Fundamentals of Analog and Digital Modulation PPT.pptx
Fundamentals of Analog and Digital  Modulation PPT.pptxFundamentals of Analog and Digital  Modulation PPT.pptx
Fundamentals of Analog and Digital Modulation PPT.pptx
 
Lab 2 Report More Linear Operational Amplifiers
Lab 2 Report More Linear Operational AmplifiersLab 2 Report More Linear Operational Amplifiers
Lab 2 Report More Linear Operational Amplifiers
 
Electrónica: TEA5570 Circuito RF / IF de radio AM / FM (Datasheet)
Electrónica: TEA5570 Circuito RF / IF de radio AM / FM (Datasheet)Electrónica: TEA5570 Circuito RF / IF de radio AM / FM (Datasheet)
Electrónica: TEA5570 Circuito RF / IF de radio AM / FM (Datasheet)
 
L25 resonance
L25 resonanceL25 resonance
L25 resonance
 
Operational Amplifier
Operational AmplifierOperational Amplifier
Operational Amplifier
 

Recently uploaded

PANDITA RAMABAI- Indian political thought GENDER.pptx
PANDITA RAMABAI- Indian political thought GENDER.pptxPANDITA RAMABAI- Indian political thought GENDER.pptx
PANDITA RAMABAI- Indian political thought GENDER.pptxakanksha16arora
 
MuleSoft Integration with AWS Textract | Calling AWS Textract API |AWS - Clou...
MuleSoft Integration with AWS Textract | Calling AWS Textract API |AWS - Clou...MuleSoft Integration with AWS Textract | Calling AWS Textract API |AWS - Clou...
MuleSoft Integration with AWS Textract | Calling AWS Textract API |AWS - Clou...MysoreMuleSoftMeetup
 
Andreas Schleicher presents at the launch of What does child empowerment mean...
Andreas Schleicher presents at the launch of What does child empowerment mean...Andreas Schleicher presents at the launch of What does child empowerment mean...
Andreas Schleicher presents at the launch of What does child empowerment mean...EduSkills OECD
 
Graduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - EnglishGraduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - Englishneillewis46
 
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdfUnit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdfDr Vijay Vishwakarma
 
QUATER-1-PE-HEALTH-LC2- this is just a sample of unpacked lesson
QUATER-1-PE-HEALTH-LC2- this is just a sample of unpacked lessonQUATER-1-PE-HEALTH-LC2- this is just a sample of unpacked lesson
QUATER-1-PE-HEALTH-LC2- this is just a sample of unpacked lessonhttgc7rh9c
 
How to setup Pycharm environment for Odoo 17.pptx
How to setup Pycharm environment for Odoo 17.pptxHow to setup Pycharm environment for Odoo 17.pptx
How to setup Pycharm environment for Odoo 17.pptxCeline George
 
dusjagr & nano talk on open tools for agriculture research and learning
dusjagr & nano talk on open tools for agriculture research and learningdusjagr & nano talk on open tools for agriculture research and learning
dusjagr & nano talk on open tools for agriculture research and learningMarc Dusseiller Dusjagr
 
Towards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptxTowards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptxJisc
 
REMIFENTANIL: An Ultra short acting opioid.pptx
REMIFENTANIL: An Ultra short acting opioid.pptxREMIFENTANIL: An Ultra short acting opioid.pptx
REMIFENTANIL: An Ultra short acting opioid.pptxDr. Ravikiran H M Gowda
 
Model Attribute _rec_name in the Odoo 17
Model Attribute _rec_name in the Odoo 17Model Attribute _rec_name in the Odoo 17
Model Attribute _rec_name in the Odoo 17Celine George
 
Play hard learn harder: The Serious Business of Play
Play hard learn harder:  The Serious Business of PlayPlay hard learn harder:  The Serious Business of Play
Play hard learn harder: The Serious Business of PlayPooky Knightsmith
 
What is 3 Way Matching Process in Odoo 17.pptx
What is 3 Way Matching Process in Odoo 17.pptxWhat is 3 Way Matching Process in Odoo 17.pptx
What is 3 Way Matching Process in Odoo 17.pptxCeline George
 
How to Add a Tool Tip to a Field in Odoo 17
How to Add a Tool Tip to a Field in Odoo 17How to Add a Tool Tip to a Field in Odoo 17
How to Add a Tool Tip to a Field in Odoo 17Celine George
 
FICTIONAL SALESMAN/SALESMAN SNSW 2024.pdf
FICTIONAL SALESMAN/SALESMAN SNSW 2024.pdfFICTIONAL SALESMAN/SALESMAN SNSW 2024.pdf
FICTIONAL SALESMAN/SALESMAN SNSW 2024.pdfPondicherry University
 
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...Amil baba
 
OSCM Unit 2_Operations Processes & Systems
OSCM Unit 2_Operations Processes & SystemsOSCM Unit 2_Operations Processes & Systems
OSCM Unit 2_Operations Processes & SystemsSandeep D Chaudhary
 
FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024Elizabeth Walsh
 
Understanding Accommodations and Modifications
Understanding  Accommodations and ModificationsUnderstanding  Accommodations and Modifications
Understanding Accommodations and ModificationsMJDuyan
 

Recently uploaded (20)

PANDITA RAMABAI- Indian political thought GENDER.pptx
PANDITA RAMABAI- Indian political thought GENDER.pptxPANDITA RAMABAI- Indian political thought GENDER.pptx
PANDITA RAMABAI- Indian political thought GENDER.pptx
 
MuleSoft Integration with AWS Textract | Calling AWS Textract API |AWS - Clou...
MuleSoft Integration with AWS Textract | Calling AWS Textract API |AWS - Clou...MuleSoft Integration with AWS Textract | Calling AWS Textract API |AWS - Clou...
MuleSoft Integration with AWS Textract | Calling AWS Textract API |AWS - Clou...
 
Andreas Schleicher presents at the launch of What does child empowerment mean...
Andreas Schleicher presents at the launch of What does child empowerment mean...Andreas Schleicher presents at the launch of What does child empowerment mean...
Andreas Schleicher presents at the launch of What does child empowerment mean...
 
Graduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - EnglishGraduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - English
 
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdfUnit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdf
 
QUATER-1-PE-HEALTH-LC2- this is just a sample of unpacked lesson
QUATER-1-PE-HEALTH-LC2- this is just a sample of unpacked lessonQUATER-1-PE-HEALTH-LC2- this is just a sample of unpacked lesson
QUATER-1-PE-HEALTH-LC2- this is just a sample of unpacked lesson
 
How to setup Pycharm environment for Odoo 17.pptx
How to setup Pycharm environment for Odoo 17.pptxHow to setup Pycharm environment for Odoo 17.pptx
How to setup Pycharm environment for Odoo 17.pptx
 
dusjagr & nano talk on open tools for agriculture research and learning
dusjagr & nano talk on open tools for agriculture research and learningdusjagr & nano talk on open tools for agriculture research and learning
dusjagr & nano talk on open tools for agriculture research and learning
 
Towards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptxTowards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptx
 
REMIFENTANIL: An Ultra short acting opioid.pptx
REMIFENTANIL: An Ultra short acting opioid.pptxREMIFENTANIL: An Ultra short acting opioid.pptx
REMIFENTANIL: An Ultra short acting opioid.pptx
 
Model Attribute _rec_name in the Odoo 17
Model Attribute _rec_name in the Odoo 17Model Attribute _rec_name in the Odoo 17
Model Attribute _rec_name in the Odoo 17
 
Play hard learn harder: The Serious Business of Play
Play hard learn harder:  The Serious Business of PlayPlay hard learn harder:  The Serious Business of Play
Play hard learn harder: The Serious Business of Play
 
What is 3 Way Matching Process in Odoo 17.pptx
What is 3 Way Matching Process in Odoo 17.pptxWhat is 3 Way Matching Process in Odoo 17.pptx
What is 3 Way Matching Process in Odoo 17.pptx
 
How to Add a Tool Tip to a Field in Odoo 17
How to Add a Tool Tip to a Field in Odoo 17How to Add a Tool Tip to a Field in Odoo 17
How to Add a Tool Tip to a Field in Odoo 17
 
FICTIONAL SALESMAN/SALESMAN SNSW 2024.pdf
FICTIONAL SALESMAN/SALESMAN SNSW 2024.pdfFICTIONAL SALESMAN/SALESMAN SNSW 2024.pdf
FICTIONAL SALESMAN/SALESMAN SNSW 2024.pdf
 
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
 
Including Mental Health Support in Project Delivery, 14 May.pdf
Including Mental Health Support in Project Delivery, 14 May.pdfIncluding Mental Health Support in Project Delivery, 14 May.pdf
Including Mental Health Support in Project Delivery, 14 May.pdf
 
OSCM Unit 2_Operations Processes & Systems
OSCM Unit 2_Operations Processes & SystemsOSCM Unit 2_Operations Processes & Systems
OSCM Unit 2_Operations Processes & Systems
 
FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024
 
Understanding Accommodations and Modifications
Understanding  Accommodations and ModificationsUnderstanding  Accommodations and Modifications
Understanding Accommodations and Modifications
 

DSP Laboratory M File Program

  • 1. EX.NO-1:SAMPLING AND ALIASING EFFECTS January 28, 2016 Dr.C.Muniraj | EEE-KSRCT Problem Ex2.1 A single phase inverter with filter supply the three different frequency (25Hz,35Hz,50Hz)output voltage waveform to single phase induction motor for the speed control operations. Generate the discrete voltage waveform for the above different frequency by the sampling frequency of 15 Hz, 50Hz, 100Hz, 200Hz. write your comments on aliasing effects. sample progrmme % sampling and aliasing effects clear all close all clc % lest assume signal having three frequency values f1=50;%Hz f2=100;%Hz f3=200;%Hz % Let assume the different sampling frequecy values Fm1=100;%Hz(F<2fm) Fm2=200;%Hz (Fm=fm) Fm3=400; %Hz(Fm=2fm) Fm4=800; %Hz(Fm>2fm) % volage equation for sampling freqency Fm1 T=[0:1/Fm2:0.04]; Vm=1; V1=Vm*sin(2*pi*f1*T); V2=Vm*sin(2*pi*f2*T); V3=Vm*sin(2*pi*f3*T); % plot the voltage waveforms figure(1) plot(T,V1,'-or'); hold on plot(T,V2,'-ko'); hold on plot(T,V3,'-g*'); legend ('50Hz','100Hz','200Hz') xlabel('samples') ylabel('magnitude')