SlideShare a Scribd company logo
1 of 5
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-4Dr. 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 CSAAKASH 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 CSAAKASH KUMAR
 
Builtin Functions and variables naming rules
Builtin Functions and variables naming rulesBuiltin Functions and variables naming rules
Builtin Functions and variables naming rulesNigah 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 questionsvijay00791
 
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 javaOne97 Communications Limited
 
SIMPLE C PROGRAMS - SARASWATHI RAMALINGAM
SIMPLE C PROGRAMS - SARASWATHI RAMALINGAMSIMPLE C PROGRAMS - SARASWATHI RAMALINGAM
SIMPLE C PROGRAMS - SARASWATHI RAMALINGAMSaraswathiRamalingam
 
C Programming Language Part 7
C Programming Language Part 7C Programming Language Part 7
C Programming Language Part 7Rumman Ansari
 
C Programming Language Part 9
C Programming Language Part 9C Programming Language Part 9
C Programming Language Part 9Rumman 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 - 13Chris 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 Overloadingmohamed 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
 
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 OzonoO3Haus
 
Assignment 1- PETA
Assignment 1- PETAAssignment 1- PETA
Assignment 1- PETAsosan96
 
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 SkvorakPKUIllinois
 
Quart. 1r. trimestre
Quart. 1r. trimestreQuart. 1r. trimestre
Quart. 1r. trimestreMerxemusica
 

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
 
Classical programming interview questions
Classical programming interview questionsClassical programming interview questions
Classical programming interview questionsGradeup
 
functions2-200924082810.pdf
functions2-200924082810.pdffunctions2-200924082810.pdf
functions2-200924082810.pdfpaijitk
 
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 algoritmosluzenith_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.pdfJUSTSTYLISH3B2MOHALI
 
PYTHON_PROGRAM(1-34).pdf
PYTHON_PROGRAM(1-34).pdfPYTHON_PROGRAM(1-34).pdf
PYTHON_PROGRAM(1-34).pdfNeeraj381934
 
Basic python programs
Basic python programsBasic python programs
Basic python programsRaginiJain21
 
Ceng232 Decoder Multiplexer Adder
Ceng232 Decoder Multiplexer AdderCeng232 Decoder Multiplexer Adder
Ceng232 Decoder Multiplexer Addergueste731a4
 
C++ Course - Lesson 2
C++ Course - Lesson 2C++ Course - Lesson 2
C++ Course - Lesson 2Mohamed Ahmed
 
III MCS python lab (1).pdf
III MCS python lab (1).pdfIII MCS python lab (1).pdf
III MCS python lab (1).pdfsrxerox
 
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.docxjeremylockett77
 
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.pdfrajatxyz
 

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

Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountPuma Security, LLC
 
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...HostedbyConfluent
 
Maximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxMaximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxOnBoard
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitecturePixlogix Infotech
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slidespraypatel2
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonAnna Loughnan Colquhoun
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Allon Mureinik
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsMaria Levchenko
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreternaman860154
 
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Alan Dix
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024Rafal Los
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024The Digital Insurer
 
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...gurkirankumar98700
 
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024BookNet Canada
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityPrincipled Technologies
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesSinan KOZAK
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking MenDelhi Call girls
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationSafe Software
 
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | DelhiFULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhisoniya singh
 

Recently uploaded (20)

Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path Mount
 
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
 
Maximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxMaximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptx
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC Architecture
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slides
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
 
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen Frames
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | DelhiFULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
 

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