SlideShare a Scribd company logo
Matlab project
Title :
Different Function withGraphs
Made by Iftikhar ali
Cell +92-346-9383505
About project
My project consist of different
function :
1:) To Generate A Matrix
2:) To Represent The Harmonics of a Signal
3:) To represent unit impusle
4:) To represent the descrete unit step
function graph of a signal
5:) To represent the continous unit step
function graph of a signal
6:) To represent the ramp function graph of
a signal
7:) To find the convolution of the signal
8:) To find the graph of cosin function
9:) To find the graph of sin function
Application:
: it make easy to graph different function
:it have a function to get random matrix as
will as ones matrix
:it have also a function of harmonic signal
:it have also function of flipping
:it have also function of ramp function
:it have also unit impuls and unit step
function
We see that all the above function have
very use in daily life .so our project is on
the base of all above mentioned function
Function coding:
function y=pro()
disp('"0" To Generate A Matrix ')
disp('"1" To Represent The Harmonics of a Signal ')
disp('"2" To represent unit impusle of a signal ')
disp('"3" To represent the descrete unit step function graph of a signal ')
disp('"4" To represent the continous unit step function graph of a signal ')
disp('"5" To represent the ramp function graph of a signal ')
disp('"6" To find the convolution of the signal')
disp('"7" To find the graph of cosin function ')
disp('"8" To find the graph of sin function ')
s=input('Enter The Opperation You want = ');
switch s
case 0
n=input('Enter the number of ROWS = ');
m=input('Enter the number of COLUMS = ');
disp('the random "n x m" matrix is given below :');
rand(n,m)
case 1
n=input('Enter n-th Harmonic= ');
inc=0.01;
f=1;
t=0:inc:4;
w=2*pi*f;
for i=1:n
signal=sin(i*t*w);
plot(t,signal)
pause;
end
case 2
n1=input('enter the initinal point=');
n2=input('enter the final point=');
n0=input('enter the point for the impulse which you want=');
n=n1:n2;
x=[(n-n0)==0];
stem(n,x);
case 3
n1=input('enter the initinal point=');
n2=input('enter the final point=');
n0=input('enter the point which you want to draw the descrete unit step
function graph =');
n=n1:n2;
x=[(n-n0)>=0];
stem(n,x);
case 4
t1=input('enter the initinal point=');
t2=input('enter the final point=');
inc=input('enter for the increment=');
t0=input('enter the point which you want to draw the continous unit step
function graph =');
t=t1:inc:t2;
x=[(t-t0)>=0];
plot(t,x);
case 5
t1=input('enter the initinal point=');
t2=input('enter the final point=');
inc=input('enter for the increment=');
t0=input('enter the point which you want to draw the ramp function =');
t=t1:inc:t2;
x1=[(t-t0)>=0];
x=x1.*(t-t0);
plot(t,x);
case 6
p=input('Enter the initinal value of "n" on axis = ');
o=input('Enter the final value of "n" on axis = ');
n=p:o;
n
k=input('Enter the initinal value of "m" on axis = ');
l=input('Enter the final value of "m" on axis = ');
m=k:l;
m
disp('put the input function "x" on "n" axis point ' )
for n=p:o
x=input('give the descrete input function value=');
end
x
disp('put the impulse response function "h" on "m" axis point ' )
for m=k:l
h=input('give the descrete impulse response function value=');
end
disp('the convolution as:');
conv(x,h)
case 7
A=input('put the cosine function magnitude=');
f=input('put the frequency of cosine function=');
b=input('enter the initinal point for the axis=');
c=input('enter the final point for the axis=');
t=b:0.001:c;
y=A*cos(2*pi*f*t);
plot(t,y);
case 8
A=input('put the sin function magnitude=');
f=input('put the frequency of sin function=');
b=input('enter the initinal point for the axis=');
c=input('enter the final point for the axis=');
t=b:0.001:c;
y=A*sin(2*pi*f*t);
plot(t,y);
otherwise
disp('Please Select Opperation From
"0","1","2","3","4","5","6","7","8","9","10"<== ')
end
end

More Related Content

What's hot

please sir i want to comments of every code what i do in eachline . in this w...
please sir i want to comments of every code what i do in eachline . in this w...please sir i want to comments of every code what i do in eachline . in this w...
please sir i want to comments of every code what i do in eachline . in this w...
hwbloom27
 
QUEUE || FUNCTION WRITING BASED ON QUEUE || LINKED LIST || DATA STRUCTURE || ...
QUEUE || FUNCTION WRITING BASED ON QUEUE || LINKED LIST || DATA STRUCTURE || ...QUEUE || FUNCTION WRITING BASED ON QUEUE || LINKED LIST || DATA STRUCTURE || ...
QUEUE || FUNCTION WRITING BASED ON QUEUE || LINKED LIST || DATA STRUCTURE || ...
AAKASH KUMAR
 
Bcsl 033 data and file structures lab s1-4
Bcsl 033 data and file structures lab s1-4Bcsl 033 data and file structures lab s1-4
Bcsl 033 data and file structures lab s1-4
Dr. Loganathan R
 
New microsoft office word document (2)
New microsoft office word document (2)New microsoft office word document (2)
New microsoft office word document (2)
Syed Umair
 
Doublylinklist
DoublylinklistDoublylinklist
Doublylinklistritu1806
 
2 d array(part 1) || 2D ARRAY FUNCTION WRITING || GET 100% MARKS IN CBSE CS
2 d array(part 1) || 2D ARRAY FUNCTION WRITING || GET 100% MARKS IN CBSE CS2 d array(part 1) || 2D ARRAY FUNCTION WRITING || GET 100% MARKS IN CBSE CS
2 d array(part 1) || 2D ARRAY FUNCTION WRITING || GET 100% MARKS IN CBSE CS
AAKASH KUMAR
 
2 d array(part 2) || 2D ARRAY FUNCTION WRITING || GET 100% MARKS IN CBSE CS
2 d array(part 2) || 2D ARRAY FUNCTION WRITING || GET 100% MARKS IN CBSE CS2 d array(part 2) || 2D ARRAY FUNCTION WRITING || GET 100% MARKS IN CBSE CS
2 d array(part 2) || 2D ARRAY FUNCTION WRITING || GET 100% MARKS IN CBSE CS
AAKASH KUMAR
 
Builtin Functions and variables naming rules
Builtin Functions and variables naming rulesBuiltin Functions and variables naming rules
Builtin Functions and variables naming rules
Nigah Mathour
 
Nesting of for loops using C++
Nesting of for loops using C++Nesting of for loops using C++
Nesting of for loops using C++
prashant_sainii
 
C tech questions
C tech questionsC tech questions
C tech questions
vijay00791
 
WAP to find out whether the number is prime or not in java
WAP to find out whether the number is prime or not in javaWAP to find out whether the number is prime or not in java
WAP to find out whether the number is prime or not in java
One97 Communications Limited
 
SIMPLE C PROGRAMS - SARASWATHI RAMALINGAM
SIMPLE C PROGRAMS - SARASWATHI RAMALINGAMSIMPLE C PROGRAMS - SARASWATHI RAMALINGAM
SIMPLE C PROGRAMS - SARASWATHI RAMALINGAM
SaraswathiRamalingam
 
C Programming Language Part 7
C Programming Language Part 7C Programming Language Part 7
C Programming Language Part 7
Rumman Ansari
 
C Programming Language Part 9
C Programming Language Part 9C Programming Language Part 9
C Programming Language Part 9
Rumman Ansari
 
Introduction to Computer and Programing - Lecture 04
Introduction to Computer and Programing - Lecture 04Introduction to Computer and Programing - Lecture 04
Introduction to Computer and Programing - Lecture 04hassaanciit
 
[C++ Korea] Effective Modern C++ Study, Item 11 - 13
[C++ Korea] Effective Modern C++ Study, Item 11 - 13[C++ Korea] Effective Modern C++ Study, Item 11 - 13
[C++ Korea] Effective Modern C++ Study, Item 11 - 13
Chris Ohk
 
C++ Question on References and Function Overloading
C++ Question on References and Function OverloadingC++ Question on References and Function Overloading
C++ Question on References and Function Overloading
mohamed sikander
 

What's hot (20)

please sir i want to comments of every code what i do in eachline . in this w...
please sir i want to comments of every code what i do in eachline . in this w...please sir i want to comments of every code what i do in eachline . in this w...
please sir i want to comments of every code what i do in eachline . in this w...
 
QUEUE || FUNCTION WRITING BASED ON QUEUE || LINKED LIST || DATA STRUCTURE || ...
QUEUE || FUNCTION WRITING BASED ON QUEUE || LINKED LIST || DATA STRUCTURE || ...QUEUE || FUNCTION WRITING BASED ON QUEUE || LINKED LIST || DATA STRUCTURE || ...
QUEUE || FUNCTION WRITING BASED ON QUEUE || LINKED LIST || DATA STRUCTURE || ...
 
Bcsl 033 data and file structures lab s1-4
Bcsl 033 data and file structures lab s1-4Bcsl 033 data and file structures lab s1-4
Bcsl 033 data and file structures lab s1-4
 
New microsoft office word document (2)
New microsoft office word document (2)New microsoft office word document (2)
New microsoft office word document (2)
 
Doublylinklist
DoublylinklistDoublylinklist
Doublylinklist
 
2 d array(part 1) || 2D ARRAY FUNCTION WRITING || GET 100% MARKS IN CBSE CS
2 d array(part 1) || 2D ARRAY FUNCTION WRITING || GET 100% MARKS IN CBSE CS2 d array(part 1) || 2D ARRAY FUNCTION WRITING || GET 100% MARKS IN CBSE CS
2 d array(part 1) || 2D ARRAY FUNCTION WRITING || GET 100% MARKS IN CBSE CS
 
2 d array(part 2) || 2D ARRAY FUNCTION WRITING || GET 100% MARKS IN CBSE CS
2 d array(part 2) || 2D ARRAY FUNCTION WRITING || GET 100% MARKS IN CBSE CS2 d array(part 2) || 2D ARRAY FUNCTION WRITING || GET 100% MARKS IN CBSE CS
2 d array(part 2) || 2D ARRAY FUNCTION WRITING || GET 100% MARKS IN CBSE CS
 
Builtin Functions and variables naming rules
Builtin Functions and variables naming rulesBuiltin Functions and variables naming rules
Builtin Functions and variables naming rules
 
week-17x
week-17xweek-17x
week-17x
 
Nesting of for loops using C++
Nesting of for loops using C++Nesting of for loops using C++
Nesting of for loops using C++
 
C tech questions
C tech questionsC tech questions
C tech questions
 
WAP to find out whether the number is prime or not in java
WAP to find out whether the number is prime or not in javaWAP to find out whether the number is prime or not in java
WAP to find out whether the number is prime or not in java
 
SIMPLE C PROGRAMS - SARASWATHI RAMALINGAM
SIMPLE C PROGRAMS - SARASWATHI RAMALINGAMSIMPLE C PROGRAMS - SARASWATHI RAMALINGAM
SIMPLE C PROGRAMS - SARASWATHI RAMALINGAM
 
Appsec obfuscator reloaded
Appsec obfuscator reloadedAppsec obfuscator reloaded
Appsec obfuscator reloaded
 
C Programming Language Part 7
C Programming Language Part 7C Programming Language Part 7
C Programming Language Part 7
 
C Programming Language Part 9
C Programming Language Part 9C Programming Language Part 9
C Programming Language Part 9
 
Introduction to Computer and Programing - Lecture 04
Introduction to Computer and Programing - Lecture 04Introduction to Computer and Programing - Lecture 04
Introduction to Computer and Programing - Lecture 04
 
week-16x
week-16xweek-16x
week-16x
 
[C++ Korea] Effective Modern C++ Study, Item 11 - 13
[C++ Korea] Effective Modern C++ Study, Item 11 - 13[C++ Korea] Effective Modern C++ Study, Item 11 - 13
[C++ Korea] Effective Modern C++ Study, Item 11 - 13
 
C++ Question on References and Function Overloading
C++ Question on References and Function OverloadingC++ Question on References and Function Overloading
C++ Question on References and Function Overloading
 

Viewers also liked

Matlab fair-record-model
Matlab fair-record-modelMatlab fair-record-model
Matlab fair-record-modelajaydev1111
 
Dsp lab _eec-652__vi_sem_18012013
Dsp lab _eec-652__vi_sem_18012013Dsp lab _eec-652__vi_sem_18012013
Dsp lab _eec-652__vi_sem_18012013Kurmendra Singh
 
como subir archivos .doc .ppt .pdf a Blogger
como subir archivos .doc .ppt .pdf a Bloggercomo subir archivos .doc .ppt .pdf a Blogger
como subir archivos .doc .ppt .pdf a Blogger
Alfredo Waldemar Perez Narvaez
 
Cop
CopCop
Dia 1 mal
Dia 1 malDia 1 mal
Dia 1 mal
Oliver Rochin
 
Time-Based Versioning - Conceptual Overview 160408E
Time-Based Versioning - Conceptual Overview 160408ETime-Based Versioning - Conceptual Overview 160408E
Time-Based Versioning - Conceptual Overview 160408EPatrick Maroney
 
Catalogo O3 Haüs La Casa del Ozono
Catalogo O3 Haüs La Casa del OzonoCatalogo O3 Haüs La Casa del Ozono
Catalogo O3 Haüs La Casa del Ozono
O3Haus
 
Assignment 1- PETA
Assignment 1- PETAAssignment 1- PETA
Assignment 1- PETA
sosan96
 
CTI Tokenization Concepts 160408B
CTI Tokenization Concepts 160408BCTI Tokenization Concepts 160408B
CTI Tokenization Concepts 160408BPatrick Maroney
 
PKU Illinois 2014 Keynote by Kristen Skvorak
PKU Illinois 2014 Keynote by Kristen SkvorakPKU Illinois 2014 Keynote by Kristen Skvorak
PKU Illinois 2014 Keynote by Kristen Skvorak
PKUIllinois
 
Cadera luxación
Cadera luxaciónCadera luxación
Cadera luxación
KarlaSurinam Aranda
 
Quart. 1r. trimestre
Quart. 1r. trimestreQuart. 1r. trimestre
Quart. 1r. trimestreMerxemusica
 
달콤길
달콤길달콤길
달콤길
Daewon Noh
 

Viewers also liked (17)

Matlab fair-record-model
Matlab fair-record-modelMatlab fair-record-model
Matlab fair-record-model
 
Dsp lab _eec-652__vi_sem_18012013
Dsp lab _eec-652__vi_sem_18012013Dsp lab _eec-652__vi_sem_18012013
Dsp lab _eec-652__vi_sem_18012013
 
Geografi
GeografiGeografi
Geografi
 
como subir archivos .doc .ppt .pdf a Blogger
como subir archivos .doc .ppt .pdf a Bloggercomo subir archivos .doc .ppt .pdf a Blogger
como subir archivos .doc .ppt .pdf a Blogger
 
Cop
CopCop
Cop
 
Dia 1 mal
Dia 1 malDia 1 mal
Dia 1 mal
 
FrockedLookBk 910 all
FrockedLookBk 910 allFrockedLookBk 910 all
FrockedLookBk 910 all
 
FASHION MODA
FASHION MODAFASHION MODA
FASHION MODA
 
Time-Based Versioning - Conceptual Overview 160408E
Time-Based Versioning - Conceptual Overview 160408ETime-Based Versioning - Conceptual Overview 160408E
Time-Based Versioning - Conceptual Overview 160408E
 
Catalogo O3 Haüs La Casa del Ozono
Catalogo O3 Haüs La Casa del OzonoCatalogo O3 Haüs La Casa del Ozono
Catalogo O3 Haüs La Casa del Ozono
 
Assignment 1- PETA
Assignment 1- PETAAssignment 1- PETA
Assignment 1- PETA
 
CTI Tokenization Concepts 160408B
CTI Tokenization Concepts 160408BCTI Tokenization Concepts 160408B
CTI Tokenization Concepts 160408B
 
MEGA
MEGAMEGA
MEGA
 
PKU Illinois 2014 Keynote by Kristen Skvorak
PKU Illinois 2014 Keynote by Kristen SkvorakPKU Illinois 2014 Keynote by Kristen Skvorak
PKU Illinois 2014 Keynote by Kristen Skvorak
 
Cadera luxación
Cadera luxaciónCadera luxación
Cadera luxación
 
Quart. 1r. trimestre
Quart. 1r. trimestreQuart. 1r. trimestre
Quart. 1r. trimestre
 
달콤길
달콤길달콤길
달콤길
 

Similar to Matlab project

Digital signal Processing all matlab code with Lab report
Digital signal Processing all matlab code with Lab report Digital signal Processing all matlab code with Lab report
Digital signal Processing all matlab code with Lab report
Alamgir Hossain
 
Programs.doc
Programs.docPrograms.doc
Programs.doc
ArnabNath30
 
AI-Programs.pdf
AI-Programs.pdfAI-Programs.pdf
AI-Programs.pdf
ArnabNath30
 
PRACTICAL FILE(COMP SC).pptx
PRACTICAL FILE(COMP SC).pptxPRACTICAL FILE(COMP SC).pptx
PRACTICAL FILE(COMP SC).pptx
AbhinavGupta257043
 
Classical programming interview questions
Classical programming interview questionsClassical programming interview questions
Classical programming interview questions
Gradeup
 
functions2-200924082810.pdf
functions2-200924082810.pdffunctions2-200924082810.pdf
functions2-200924082810.pdf
paijitk
 
Introducción al Análisis y diseño de algoritmos
Introducción al Análisis y diseño de algoritmosIntroducción al Análisis y diseño de algoritmos
Introducción al Análisis y diseño de algoritmos
luzenith_g
 
FUNCTIONS IN PYTHON[RANDOM FUNCTION]
FUNCTIONS IN PYTHON[RANDOM FUNCTION]FUNCTIONS IN PYTHON[RANDOM FUNCTION]
FUNCTIONS IN PYTHON[RANDOM FUNCTION]
vikram mahendra
 
Problem 2.19. How much time is required to add or subtract two large.pdf
Problem 2.19. How much time is required to add or subtract two large.pdfProblem 2.19. How much time is required to add or subtract two large.pdf
Problem 2.19. How much time is required to add or subtract two large.pdf
JUSTSTYLISH3B2MOHALI
 
PYTHON_PROGRAM(1-34).pdf
PYTHON_PROGRAM(1-34).pdfPYTHON_PROGRAM(1-34).pdf
PYTHON_PROGRAM(1-34).pdf
Neeraj381934
 
Basic python programs
Basic python programsBasic python programs
Basic python programs
RaginiJain21
 
Ceng232 Decoder Multiplexer Adder
Ceng232 Decoder Multiplexer AdderCeng232 Decoder Multiplexer Adder
Ceng232 Decoder Multiplexer Adder
gueste731a4
 
CPP Homework Help
CPP Homework HelpCPP Homework Help
CPP Homework Help
C++ Homework Help
 
C++ Course - Lesson 2
C++ Course - Lesson 2C++ Course - Lesson 2
C++ Course - Lesson 2Mohamed Ahmed
 
CPP Homework help
CPP Homework helpCPP Homework help
CPP Homework help
C++ Homework Help
 
III MCS python lab (1).pdf
III MCS python lab (1).pdfIII MCS python lab (1).pdf
III MCS python lab (1).pdf
srxerox
 
Literary Genre MatrixPart 1 Matrix FictionNon-fiction.docx
Literary Genre MatrixPart 1 Matrix FictionNon-fiction.docxLiterary Genre MatrixPart 1 Matrix FictionNon-fiction.docx
Literary Genre MatrixPart 1 Matrix FictionNon-fiction.docx
jeremylockett77
 
Mine sweeper
Mine sweeperMine sweeper
Mine sweeper
Iffat Anjum
 
python practicals-solution-2019-20-class-xii.pdf
python practicals-solution-2019-20-class-xii.pdfpython practicals-solution-2019-20-class-xii.pdf
python practicals-solution-2019-20-class-xii.pdf
rajatxyz
 

Similar to Matlab project (20)

Digital signal Processing all matlab code with Lab report
Digital signal Processing all matlab code with Lab report Digital signal Processing all matlab code with Lab report
Digital signal Processing all matlab code with Lab report
 
Programs.doc
Programs.docPrograms.doc
Programs.doc
 
AI-Programs.pdf
AI-Programs.pdfAI-Programs.pdf
AI-Programs.pdf
 
PRACTICAL FILE(COMP SC).pptx
PRACTICAL FILE(COMP SC).pptxPRACTICAL FILE(COMP SC).pptx
PRACTICAL FILE(COMP SC).pptx
 
Classical programming interview questions
Classical programming interview questionsClassical programming interview questions
Classical programming interview questions
 
functions2-200924082810.pdf
functions2-200924082810.pdffunctions2-200924082810.pdf
functions2-200924082810.pdf
 
Introducción al Análisis y diseño de algoritmos
Introducción al Análisis y diseño de algoritmosIntroducción al Análisis y diseño de algoritmos
Introducción al Análisis y diseño de algoritmos
 
Alg1
Alg1Alg1
Alg1
 
FUNCTIONS IN PYTHON[RANDOM FUNCTION]
FUNCTIONS IN PYTHON[RANDOM FUNCTION]FUNCTIONS IN PYTHON[RANDOM FUNCTION]
FUNCTIONS IN PYTHON[RANDOM FUNCTION]
 
Problem 2.19. How much time is required to add or subtract two large.pdf
Problem 2.19. How much time is required to add or subtract two large.pdfProblem 2.19. How much time is required to add or subtract two large.pdf
Problem 2.19. How much time is required to add or subtract two large.pdf
 
PYTHON_PROGRAM(1-34).pdf
PYTHON_PROGRAM(1-34).pdfPYTHON_PROGRAM(1-34).pdf
PYTHON_PROGRAM(1-34).pdf
 
Basic python programs
Basic python programsBasic python programs
Basic python programs
 
Ceng232 Decoder Multiplexer Adder
Ceng232 Decoder Multiplexer AdderCeng232 Decoder Multiplexer Adder
Ceng232 Decoder Multiplexer Adder
 
CPP Homework Help
CPP Homework HelpCPP Homework Help
CPP Homework Help
 
C++ Course - Lesson 2
C++ Course - Lesson 2C++ Course - Lesson 2
C++ Course - Lesson 2
 
CPP Homework help
CPP Homework helpCPP Homework help
CPP Homework help
 
III MCS python lab (1).pdf
III MCS python lab (1).pdfIII MCS python lab (1).pdf
III MCS python lab (1).pdf
 
Literary Genre MatrixPart 1 Matrix FictionNon-fiction.docx
Literary Genre MatrixPart 1 Matrix FictionNon-fiction.docxLiterary Genre MatrixPart 1 Matrix FictionNon-fiction.docx
Literary Genre MatrixPart 1 Matrix FictionNon-fiction.docx
 
Mine sweeper
Mine sweeperMine sweeper
Mine sweeper
 
python practicals-solution-2019-20-class-xii.pdf
python practicals-solution-2019-20-class-xii.pdfpython practicals-solution-2019-20-class-xii.pdf
python practicals-solution-2019-20-class-xii.pdf
 

Recently uploaded

ODC, Data Fabric and Architecture User Group
ODC, Data Fabric and Architecture User GroupODC, Data Fabric and Architecture User Group
ODC, Data Fabric and Architecture User Group
CatarinaPereira64715
 
Transcript: Selling digital books in 2024: Insights from industry leaders - T...
Transcript: Selling digital books in 2024: Insights from industry leaders - T...Transcript: Selling digital books in 2024: Insights from industry leaders - T...
Transcript: Selling digital books in 2024: Insights from industry leaders - T...
BookNet Canada
 
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdfFIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
FIDO Alliance
 
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
Product School
 
When stars align: studies in data quality, knowledge graphs, and machine lear...
When stars align: studies in data quality, knowledge graphs, and machine lear...When stars align: studies in data quality, knowledge graphs, and machine lear...
When stars align: studies in data quality, knowledge graphs, and machine lear...
Elena Simperl
 
Neuro-symbolic is not enough, we need neuro-*semantic*
Neuro-symbolic is not enough, we need neuro-*semantic*Neuro-symbolic is not enough, we need neuro-*semantic*
Neuro-symbolic is not enough, we need neuro-*semantic*
Frank van Harmelen
 
How world-class product teams are winning in the AI era by CEO and Founder, P...
How world-class product teams are winning in the AI era by CEO and Founder, P...How world-class product teams are winning in the AI era by CEO and Founder, P...
How world-class product teams are winning in the AI era by CEO and Founder, P...
Product School
 
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...
Jeffrey Haguewood
 
Key Trends Shaping the Future of Infrastructure.pdf
Key Trends Shaping the Future of Infrastructure.pdfKey Trends Shaping the Future of Infrastructure.pdf
Key Trends Shaping the Future of Infrastructure.pdf
Cheryl Hung
 
De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...
De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...
De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...
Product School
 
Leading Change strategies and insights for effective change management pdf 1.pdf
Leading Change strategies and insights for effective change management pdf 1.pdfLeading Change strategies and insights for effective change management pdf 1.pdf
Leading Change strategies and insights for effective change management pdf 1.pdf
OnBoard
 
Essentials of Automations: Optimizing FME Workflows with Parameters
Essentials of Automations: Optimizing FME Workflows with ParametersEssentials of Automations: Optimizing FME Workflows with Parameters
Essentials of Automations: Optimizing FME Workflows with Parameters
Safe Software
 
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
Product School
 
Mission to Decommission: Importance of Decommissioning Products to Increase E...
Mission to Decommission: Importance of Decommissioning Products to Increase E...Mission to Decommission: Importance of Decommissioning Products to Increase E...
Mission to Decommission: Importance of Decommissioning Products to Increase E...
Product School
 
Bits & Pixels using AI for Good.........
Bits & Pixels using AI for Good.........Bits & Pixels using AI for Good.........
Bits & Pixels using AI for Good.........
Alison B. Lowndes
 
Epistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI supportEpistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI support
Alan Dix
 
Connector Corner: Automate dynamic content and events by pushing a button
Connector Corner: Automate dynamic content and events by pushing a buttonConnector Corner: Automate dynamic content and events by pushing a button
Connector Corner: Automate dynamic content and events by pushing a button
DianaGray10
 
To Graph or Not to Graph Knowledge Graph Architectures and LLMs
To Graph or Not to Graph Knowledge Graph Architectures and LLMsTo Graph or Not to Graph Knowledge Graph Architectures and LLMs
To Graph or Not to Graph Knowledge Graph Architectures and LLMs
Paul Groth
 
UiPath Test Automation using UiPath Test Suite series, part 4
UiPath Test Automation using UiPath Test Suite series, part 4UiPath Test Automation using UiPath Test Suite series, part 4
UiPath Test Automation using UiPath Test Suite series, part 4
DianaGray10
 
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
DanBrown980551
 

Recently uploaded (20)

ODC, Data Fabric and Architecture User Group
ODC, Data Fabric and Architecture User GroupODC, Data Fabric and Architecture User Group
ODC, Data Fabric and Architecture User Group
 
Transcript: Selling digital books in 2024: Insights from industry leaders - T...
Transcript: Selling digital books in 2024: Insights from industry leaders - T...Transcript: Selling digital books in 2024: Insights from industry leaders - T...
Transcript: Selling digital books in 2024: Insights from industry leaders - T...
 
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdfFIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
 
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
 
When stars align: studies in data quality, knowledge graphs, and machine lear...
When stars align: studies in data quality, knowledge graphs, and machine lear...When stars align: studies in data quality, knowledge graphs, and machine lear...
When stars align: studies in data quality, knowledge graphs, and machine lear...
 
Neuro-symbolic is not enough, we need neuro-*semantic*
Neuro-symbolic is not enough, we need neuro-*semantic*Neuro-symbolic is not enough, we need neuro-*semantic*
Neuro-symbolic is not enough, we need neuro-*semantic*
 
How world-class product teams are winning in the AI era by CEO and Founder, P...
How world-class product teams are winning in the AI era by CEO and Founder, P...How world-class product teams are winning in the AI era by CEO and Founder, P...
How world-class product teams are winning in the AI era by CEO and Founder, P...
 
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...
 
Key Trends Shaping the Future of Infrastructure.pdf
Key Trends Shaping the Future of Infrastructure.pdfKey Trends Shaping the Future of Infrastructure.pdf
Key Trends Shaping the Future of Infrastructure.pdf
 
De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...
De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...
De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...
 
Leading Change strategies and insights for effective change management pdf 1.pdf
Leading Change strategies and insights for effective change management pdf 1.pdfLeading Change strategies and insights for effective change management pdf 1.pdf
Leading Change strategies and insights for effective change management pdf 1.pdf
 
Essentials of Automations: Optimizing FME Workflows with Parameters
Essentials of Automations: Optimizing FME Workflows with ParametersEssentials of Automations: Optimizing FME Workflows with Parameters
Essentials of Automations: Optimizing FME Workflows with Parameters
 
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
 
Mission to Decommission: Importance of Decommissioning Products to Increase E...
Mission to Decommission: Importance of Decommissioning Products to Increase E...Mission to Decommission: Importance of Decommissioning Products to Increase E...
Mission to Decommission: Importance of Decommissioning Products to Increase E...
 
Bits & Pixels using AI for Good.........
Bits & Pixels using AI for Good.........Bits & Pixels using AI for Good.........
Bits & Pixels using AI for Good.........
 
Epistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI supportEpistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI support
 
Connector Corner: Automate dynamic content and events by pushing a button
Connector Corner: Automate dynamic content and events by pushing a buttonConnector Corner: Automate dynamic content and events by pushing a button
Connector Corner: Automate dynamic content and events by pushing a button
 
To Graph or Not to Graph Knowledge Graph Architectures and LLMs
To Graph or Not to Graph Knowledge Graph Architectures and LLMsTo Graph or Not to Graph Knowledge Graph Architectures and LLMs
To Graph or Not to Graph Knowledge Graph Architectures and LLMs
 
UiPath Test Automation using UiPath Test Suite series, part 4
UiPath Test Automation using UiPath Test Suite series, part 4UiPath Test Automation using UiPath Test Suite series, part 4
UiPath Test Automation using UiPath Test Suite series, part 4
 
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
 

Matlab project

  • 1. Matlab project Title : Different Function withGraphs Made by Iftikhar ali Cell +92-346-9383505 About project
  • 2. My project consist of different function : 1:) To Generate A Matrix 2:) To Represent The Harmonics of a Signal 3:) To represent unit impusle 4:) To represent the descrete unit step function graph of a signal 5:) To represent the continous unit step function graph of a signal 6:) To represent the ramp function graph of a signal 7:) To find the convolution of the signal 8:) To find the graph of cosin function 9:) To find the graph of sin function Application:
  • 3. : it make easy to graph different function :it have a function to get random matrix as will as ones matrix :it have also a function of harmonic signal :it have also function of flipping :it have also function of ramp function :it have also unit impuls and unit step function We see that all the above function have very use in daily life .so our project is on the base of all above mentioned function
  • 4. Function coding: function y=pro() disp('"0" To Generate A Matrix ') disp('"1" To Represent The Harmonics of a Signal ') disp('"2" To represent unit impusle of a signal ') disp('"3" To represent the descrete unit step function graph of a signal ') disp('"4" To represent the continous unit step function graph of a signal ') disp('"5" To represent the ramp function graph of a signal ') disp('"6" To find the convolution of the signal') disp('"7" To find the graph of cosin function ') disp('"8" To find the graph of sin function ') s=input('Enter The Opperation You want = '); switch s case 0 n=input('Enter the number of ROWS = '); m=input('Enter the number of COLUMS = '); disp('the random "n x m" matrix is given below :'); rand(n,m) case 1 n=input('Enter n-th Harmonic= '); inc=0.01; f=1; t=0:inc:4; w=2*pi*f; for i=1:n signal=sin(i*t*w); plot(t,signal) pause; end case 2 n1=input('enter the initinal point='); n2=input('enter the final point='); n0=input('enter the point for the impulse which you want='); n=n1:n2; x=[(n-n0)==0]; stem(n,x); case 3 n1=input('enter the initinal point='); n2=input('enter the final point='); n0=input('enter the point which you want to draw the descrete unit step function graph ='); n=n1:n2; x=[(n-n0)>=0]; stem(n,x); case 4 t1=input('enter the initinal point='); t2=input('enter the final point='); inc=input('enter for the increment='); t0=input('enter the point which you want to draw the continous unit step function graph ='); t=t1:inc:t2; x=[(t-t0)>=0]; plot(t,x); case 5 t1=input('enter the initinal point=');
  • 5. t2=input('enter the final point='); inc=input('enter for the increment='); t0=input('enter the point which you want to draw the ramp function ='); t=t1:inc:t2; x1=[(t-t0)>=0]; x=x1.*(t-t0); plot(t,x); case 6 p=input('Enter the initinal value of "n" on axis = '); o=input('Enter the final value of "n" on axis = '); n=p:o; n k=input('Enter the initinal value of "m" on axis = '); l=input('Enter the final value of "m" on axis = '); m=k:l; m disp('put the input function "x" on "n" axis point ' ) for n=p:o x=input('give the descrete input function value='); end x disp('put the impulse response function "h" on "m" axis point ' ) for m=k:l h=input('give the descrete impulse response function value='); end disp('the convolution as:'); conv(x,h) case 7 A=input('put the cosine function magnitude='); f=input('put the frequency of cosine function='); b=input('enter the initinal point for the axis='); c=input('enter the final point for the axis='); t=b:0.001:c; y=A*cos(2*pi*f*t); plot(t,y); case 8 A=input('put the sin function magnitude='); f=input('put the frequency of sin function='); b=input('enter the initinal point for the axis='); c=input('enter the final point for the axis='); t=b:0.001:c; y=A*sin(2*pi*f*t); plot(t,y); otherwise disp('Please Select Opperation From "0","1","2","3","4","5","6","7","8","9","10"<== ') end end