SlideShare a Scribd company logo
CTSS
MATLAP FUNCTIONS
VISHAL THAKUR
D 11-74
Matlab
MATLAB INSTRUCTIONS
Commands for Managing a Session
COMMANDS DESCRIPTION
clc Clears Command window.
clear Removes variables from memory.
exist Checks for existence of file or
variable
global Declares variables to be global.
help Searches for a help topic
lookfor Searches help entries for a keyword
quit Stops MATLAB.
who Lists current variables.
whos Lists current variables (long display).
Basic xy Plotting Commands
COMMANDS DESCRIPTION
axis Sets axis limits
fplot Intelligent plotting of functions
grid Displays gridlines.
plot Generates xy plot.
print Prints plot or saves plot to a file
title Puts text at top of plot.
xlabel Adds text label to x-axis
ylabel Adds text label to y-axis.
refresh Redraws current figure window
Plot Enhancement Commands
COMMANDS DESCRIPTION
subplot Creates plots in subwindows
text Places string in figure
hold Freezes current plot.
set Specifies properties of objects such
as axes
polar Creates polar plot.
bar Creates bar chart.
stairs Creates stairs pot.
COMMANDS DESCRIPTION
eye Creates an identity matrix.
ones Creates an array of ones.
zeros Creates an array of zeros.
cross Computes cross products.
dot Computes dot products.
det Computes determinant of an array.
inv Computes inverse of a matrix.
rank Computes rank of a matrix.
Special Matrices
COMMANDS DESCRIPTION
exp(x) Exponential; ex
log(x) Natural logarithm; ln(x)
log10(x) Common (base 10) logarithm; log(x)=
log10(x).
sqrt(x) Square root; of x.
acos(x) Inverse cosine; arcos x = cos –1 (x)
asin(x) Inverse sine; arcsin x = sin –1 (x).
atan(x) Inverse tangent; arctan x = tan –1 (x).
acot(x) Inverse cotangent; arccot x = cot –
1(x).
Mathematical Functions
COMMANDS DESCRIPTION
abs(x) Absolute value; |x|.
angle(x) Angle of a complex number x.
conj(x) Complex conjugate of x.
imag(x) Imaginary part of a complex number x
real(x) Real part of a complex number x.
erf(x) Computes the error function erf (x).
mean Calculates the average.
median Calculates the median.
std Calculates the standard deviation
Complex Functions and Statistical
Functions
Predefined Input Functions
COMMANDS DESCRIPTION
gensig Generates a periodic sine, square, or
pulse input.
sawtooth Generates a periodic sawtooth input.
square Generates a square wave input.
stepfun Generates a step function input.
ilaplace Returns the inverse Laplace transform.
laplace Returns the Laplace transform.
class Returns the class of an expression.

More Related Content

PPTX
mat lab introduction and basics to learn
PDF
Matlab plotting
PPTX
Matlab ploting
PDF
Activity Recognition Through Complex Event Processing: First Findings
PDF
Matlab cheatsheet
ODP
2.3 implicits
PPT
Derivative Flashcards Final
PDF
Abstracting over the Monad yielded by a for comprehension and its generators
mat lab introduction and basics to learn
Matlab plotting
Matlab ploting
Activity Recognition Through Complex Event Processing: First Findings
Matlab cheatsheet
2.3 implicits
Derivative Flashcards Final
Abstracting over the Monad yielded by a for comprehension and its generators

What's hot (19)

PPTX
graphs plotting in MATLAB
PPTX
PDF
Revisiting Combinators
DOCX
Faisal
DOCX
Newton cotes method
PDF
Scala. Introduction to FP. Monads
PDF
A formalization of complex event stream processing
PDF
Quicksort - a whistle-stop tour of the algorithm in five languages and four p...
PDF
Matlab cheatsheet
PPTX
Lambda calculus
PPT
Module 2 topic 2 notes
PPT
Derivative Flashcards To Memorize
PDF
The Daily Method: JS Arrays::flatMap()
PDF
The Functional Programming Triad of Folding, Scanning and Iteration - a first...
PDF
Monad Transformers - Part 1
PPTX
2 d array(part 1) || 2D ARRAY FUNCTION WRITING || GET 100% MARKS IN CBSE CS
PPTX
2 d array(part 2) || 2D ARRAY FUNCTION WRITING || GET 100% MARKS IN CBSE CS
PPTX
Introduction to Monads in Scala (2)
graphs plotting in MATLAB
Revisiting Combinators
Faisal
Newton cotes method
Scala. Introduction to FP. Monads
A formalization of complex event stream processing
Quicksort - a whistle-stop tour of the algorithm in five languages and four p...
Matlab cheatsheet
Lambda calculus
Module 2 topic 2 notes
Derivative Flashcards To Memorize
The Daily Method: JS Arrays::flatMap()
The Functional Programming Triad of Folding, Scanning and Iteration - a first...
Monad Transformers - Part 1
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
Introduction to Monads in Scala (2)
Ad

Viewers also liked (20)

PPTX
Krittika.pdf
PPT
Ultra_Wide_Band_ppt
PPTX
What are Appropriate Border Surveillance Technologies? Sept. 16, 2014
PDF
Tactical Commn
PPT
Humanitarian Demining with Ultra Wide Band Ground Penetrating Radar
PPT
UWB Radar Technologies for Tunnel Detection
PPTX
A seminar on ultra wide band
PPT
Ultra-wide band communication system: Term paper _class presentation on wirel...
PPTX
Ultra-Wide Band: An Electronic Measuring, Communication, and Imaging Capabili...
PPT
Ultra wide band
PDF
IEEE REAL TIME MATLAP COMMUNICATION PROJECTS
PDF
cv-sayed-electric engineer
PDF
My c.v.
PDF
Matlab HTI summer training course_Lecture2
PDF
DOCX
SalahBedeiwiResume
PPT
Fundamentals of matlab programming
PDF
Sheet 1
Krittika.pdf
Ultra_Wide_Band_ppt
What are Appropriate Border Surveillance Technologies? Sept. 16, 2014
Tactical Commn
Humanitarian Demining with Ultra Wide Band Ground Penetrating Radar
UWB Radar Technologies for Tunnel Detection
A seminar on ultra wide band
Ultra-wide band communication system: Term paper _class presentation on wirel...
Ultra-Wide Band: An Electronic Measuring, Communication, and Imaging Capabili...
Ultra wide band
IEEE REAL TIME MATLAP COMMUNICATION PROJECTS
cv-sayed-electric engineer
My c.v.
Matlab HTI summer training course_Lecture2
SalahBedeiwiResume
Fundamentals of matlab programming
Sheet 1
Ad

Similar to Matlab (20)

PDF
Matlab commands
PDF
Matlab commands
PPTX
3_MATLAB Basics Introduction for Engineers .pptx
PDF
Matlab Introduction and Basics Guide.pdf
PPT
MatlabIntro (1).ppt
DOCX
Introduction to matlab
PPTX
Introduction to MATLAB Programming for Engineers
PDF
Commands list
PDF
An Introduction to MATLAB with Worked Examples
PPT
Introduction to Matlab Chapter One OK.ppt
PDF
Programming with matlab session 1
PPTX
Simulation lab
PPTX
1. Introduction.pptx
PPT
MATLAB-Introd.ppt
PPTX
Matlab_Harshal.pptx
PPT
Introduction of MatLab
PDF
Introduction to matlab
PDF
Introduction to matlab
PPT
Introduction to Matlab - Basic Functions
Matlab commands
Matlab commands
3_MATLAB Basics Introduction for Engineers .pptx
Matlab Introduction and Basics Guide.pdf
MatlabIntro (1).ppt
Introduction to matlab
Introduction to MATLAB Programming for Engineers
Commands list
An Introduction to MATLAB with Worked Examples
Introduction to Matlab Chapter One OK.ppt
Programming with matlab session 1
Simulation lab
1. Introduction.pptx
MATLAB-Introd.ppt
Matlab_Harshal.pptx
Introduction of MatLab
Introduction to matlab
Introduction to matlab
Introduction to Matlab - Basic Functions

More from VISHAL THAKUR (11)

PPTX
Technology reshaping retail
PPTX
In patient department
PPTX
PPTX
PPTX
Being human
PPTX
Application of motivation
PDF
Work Experience
PDF
Vishal thakur be electronics 2015
PPTX
Brain to brain interface.1
PPTX
Brain to brain interface
PPT
uttarakhand
Technology reshaping retail
In patient department
Being human
Application of motivation
Work Experience
Vishal thakur be electronics 2015
Brain to brain interface.1
Brain to brain interface
uttarakhand

Recently uploaded (20)

PDF
A novel scalable deep ensemble learning framework for big data classification...
PPTX
SOPHOS-XG Firewall Administrator PPT.pptx
PDF
Getting Started with Data Integration: FME Form 101
PPTX
A Presentation on Touch Screen Technology
PPTX
Tartificialntelligence_presentation.pptx
PPTX
Group 1 Presentation -Planning and Decision Making .pptx
PDF
Hybrid model detection and classification of lung cancer
PDF
A comparative analysis of optical character recognition models for extracting...
PDF
August Patch Tuesday
PDF
Univ-Connecticut-ChatGPT-Presentaion.pdf
PPTX
Chapter 5: Probability Theory and Statistics
PDF
DASA ADMISSION 2024_FirstRound_FirstRank_LastRank.pdf
PDF
Transform Your ITIL® 4 & ITSM Strategy with AI in 2025.pdf
PDF
MIND Revenue Release Quarter 2 2025 Press Release
PPTX
1. Introduction to Computer Programming.pptx
PDF
gpt5_lecture_notes_comprehensive_20250812015547.pdf
PDF
Unlocking AI with Model Context Protocol (MCP)
PDF
Accuracy of neural networks in brain wave diagnosis of schizophrenia
PPTX
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
PDF
From MVP to Full-Scale Product A Startup’s Software Journey.pdf
A novel scalable deep ensemble learning framework for big data classification...
SOPHOS-XG Firewall Administrator PPT.pptx
Getting Started with Data Integration: FME Form 101
A Presentation on Touch Screen Technology
Tartificialntelligence_presentation.pptx
Group 1 Presentation -Planning and Decision Making .pptx
Hybrid model detection and classification of lung cancer
A comparative analysis of optical character recognition models for extracting...
August Patch Tuesday
Univ-Connecticut-ChatGPT-Presentaion.pdf
Chapter 5: Probability Theory and Statistics
DASA ADMISSION 2024_FirstRound_FirstRank_LastRank.pdf
Transform Your ITIL® 4 & ITSM Strategy with AI in 2025.pdf
MIND Revenue Release Quarter 2 2025 Press Release
1. Introduction to Computer Programming.pptx
gpt5_lecture_notes_comprehensive_20250812015547.pdf
Unlocking AI with Model Context Protocol (MCP)
Accuracy of neural networks in brain wave diagnosis of schizophrenia
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
From MVP to Full-Scale Product A Startup’s Software Journey.pdf

Matlab

  • 3. MATLAB INSTRUCTIONS Commands for Managing a Session COMMANDS DESCRIPTION clc Clears Command window. clear Removes variables from memory. exist Checks for existence of file or variable global Declares variables to be global. help Searches for a help topic lookfor Searches help entries for a keyword quit Stops MATLAB. who Lists current variables. whos Lists current variables (long display).
  • 4. Basic xy Plotting Commands COMMANDS DESCRIPTION axis Sets axis limits fplot Intelligent plotting of functions grid Displays gridlines. plot Generates xy plot. print Prints plot or saves plot to a file title Puts text at top of plot. xlabel Adds text label to x-axis ylabel Adds text label to y-axis. refresh Redraws current figure window
  • 5. Plot Enhancement Commands COMMANDS DESCRIPTION subplot Creates plots in subwindows text Places string in figure hold Freezes current plot. set Specifies properties of objects such as axes polar Creates polar plot. bar Creates bar chart. stairs Creates stairs pot.
  • 6. COMMANDS DESCRIPTION eye Creates an identity matrix. ones Creates an array of ones. zeros Creates an array of zeros. cross Computes cross products. dot Computes dot products. det Computes determinant of an array. inv Computes inverse of a matrix. rank Computes rank of a matrix. Special Matrices
  • 7. COMMANDS DESCRIPTION exp(x) Exponential; ex log(x) Natural logarithm; ln(x) log10(x) Common (base 10) logarithm; log(x)= log10(x). sqrt(x) Square root; of x. acos(x) Inverse cosine; arcos x = cos –1 (x) asin(x) Inverse sine; arcsin x = sin –1 (x). atan(x) Inverse tangent; arctan x = tan –1 (x). acot(x) Inverse cotangent; arccot x = cot – 1(x). Mathematical Functions
  • 8. COMMANDS DESCRIPTION abs(x) Absolute value; |x|. angle(x) Angle of a complex number x. conj(x) Complex conjugate of x. imag(x) Imaginary part of a complex number x real(x) Real part of a complex number x. erf(x) Computes the error function erf (x). mean Calculates the average. median Calculates the median. std Calculates the standard deviation Complex Functions and Statistical Functions
  • 9. Predefined Input Functions COMMANDS DESCRIPTION gensig Generates a periodic sine, square, or pulse input. sawtooth Generates a periodic sawtooth input. square Generates a square wave input. stepfun Generates a step function input. ilaplace Returns the inverse Laplace transform. laplace Returns the Laplace transform. class Returns the class of an expression.