MATHLAB (R2019A)
OVERVIEW
Prepared By:- Shrikunj Patel (W0753070), Jay Panchal
(W0751781)
Layout Settings
Command Window
Current
Folder
Window
WorkspacePanel Titles
Tool Strip
Command
History
Quick Access
Toolbar
Current Folder Toolbar
Formatting (Number1 =
1.23456789)
Input Argument Output
1.23456789 Short 1.2346
1.23456789 Long 1.234567890000000
1.23456789 Shorte 1.2346e+00
1.23456789 Longe 1.234567890000000e+00
1.23456789 Shortg 1.2346
1.23456789 Longg 1.23456789
1.23456789 Shorteng 1.2346e+000
1.23456789 Longeng 1.23456789000000e+000
1.23456789 Hex 3ff3c0ca4283de1b
1.23456789 + +
1.23456789 Bank 1.23
1.23456789 Rat 100/81
1.23456789 Compact 100/81 (single space format)
1.23456789 Loose 100/81 (double space format)
Formatting (Number2 = -4.2)
Input Argument Output
-4.2 Short -4.2000
-4.2 Long -4.200000000000000
-4.2 Shorte -4.2000e+00
-4.2 Longe -4.200000000000000e+00
-4.2 Shortg -4.2
-4.2 Longg -4.2
-4.2 Shorteng -4.2000e+000
-4.2 Longeng -4.20000000000000e+000
-4.2 Hex C010cccccccccccd
-4.2 + -
-4.2 Bank -4.20
-4.2 Rat -21/5
-4.2 Compact -21/5 (single spacing format)
-4.2 Loose -21/5 (double spacing format)
Observation from above Formatting (Number1 =
1.23456789), (Number2 = -4.2)
 Precision of the output values changes as per the format selected.
 For whole number with decimal point all values has minimum 4
decimal output is generated for short format.
 For whole number with decimal point all values has maximum 15
decimal output is generated for long format.
 Format styling can be changed according to the spacing required
for output.
Formatting (Number3 = -
1.23456789)
Input Argumen
t
Type of Number (double) Type of Number (Single)
-1.23456789 Short -1.234 (8 bytes) -1.234 (4 bytes)
-1.23456789 Long -1.234567890000000 (8 bytes) -1.23456789 (4 bytes)
-1.23456789 Shorte -1.2346e+00 (8 bytes) -1.2346e+00 (4 bytes)
-1.23456789 Longe -1.234567890000000e+00 (8 bytes) -1.2345679e+00 (4 bytes)
-1.23456789 Shortg -1.2346 (8 bytes) -1.2346 (4 bytes)
-1.23456789 Longg -1.23456789 (8 bytes) -1.234568 (4 bytes)
-1.23456789 Shorteng -1.2346e+000 (8 bytes) -1.2346e+000 (4 bytes)
-1.23456789 Longeng -1.23456789000000e+000 (8 bytes) -1.234568e+000 (4 bytes)
-1.23456789 Hex Bff3c0ca4283de1b (8 bytes) Bf9e0652 (4 bytes)
-1.23456789 + - (8 bytes) - (4 bytes)
-1.23456789 Bank -1.23 (8 bytes) -1.23 (4 bytes)
-1.23456789 Rat -100/81 (8 bytes) -100/81 (4 bytes)
-1.23456789 Compact -100/81 (8 bytes) (single spacing
format)
-100/81 (4 bytes) (single spacing format)
Formatting (Number3 = -
1.23456789)
Input Argumen
t
Type of Number (int8) Type of Number (int32)
-1.23456789 Short -1(1 bytes) -1 (4 bytes)
-1.23456789 Long -1 (1 bytes) -1 (4 bytes)
-1.23456789 Shorte -1 (1 bytes) -1 (4 bytes)
-1.23456789 Longe -1 (1 bytes) -1 (4 bytes)
-1.23456789 Shortg -1 (1 bytes) -1 (4 bytes)
-1.23456789 Longg -1 (1 bytes) -1 (4 bytes)
-1.23456789 Shorteng -1 (1 bytes) -1 (4 bytes)
-1.23456789 Longeng -1 (1 bytes) -1 (4 bytes)
-1.23456789 Hex ff (1 bytes) ffffffff (4 bytes)
-1.23456789 + - (1 bytes) - (4 bytes)
-1.23456789 Bank -1.23 (1 bytes) -1 (4bytes)
-1.23456789 Rat -1 (1 bytes) -1 (4 bytes)
-1.23456789 Compact -1 (1 bytes) (Single spacing format) -1 (4 bytes) (single spacing format)
-1.23456789 Loose -1 (1 bytes) (double spacing format) -1 (4 bytes) (double spacing format)
Formatting (Number3 = -
1.23456789)
Input Argumen
t
Type of Number (uint8) Type of Number (uint64)
-1.23456789 Short 0 (1 bytes) 0 (8 bytes)
-1.23456789 Long 0 (1 bytes) 0 (8 bytes)
-1.23456789 Shorte 0 (1 bytes) 0 (8 bytes)
-1.23456789 Longe 0 (1 bytes) 0 (8 bytes)
-1.23456789 Shortg 0 (1 bytes) 0 (8 bytes)
-1.23456789 Longg 0 (1 bytes) 0 (8 bytes)
-1.23456789 Shorteng 0 (1 bytes) 0 (8 bytes)
-1.23456789 Longeng 0 (1 bytes) 0 (8 bytes)
-1.23456789 Hex 00 (1 bytes) 0000000000000000 (8 bytes)
-1.23456789 + ~ ~
-1.23456789 Bank 0 (1 bytes) 0 (8 bytes)
-1.23456789 Rat 0 (1 bytes) 0 (8 bytes)
-1.23456789 Compact 0 (1 bytes) (single spacing format)ss 0 (8 bytes) (single spacing format)
-1.23456789 Loose 0 (1 bytes) (double spacing format) 0 (8 bytes) (double spacing format)
Observations from above
Formatting (Number3 = -
1.23456789)
 Variables of data types (class) can be stored
as different bytes according to output required.
 Precision can be changed of floating point
value according to the requirement.
 Unassigned integers of different data types
also can be stored as different bytes.
Using Operators (Number4 = 2.21,
Number5 = 4.1367)
Input Operato
r
Number 6 Number 7
Number4 and Number5 plus 6.3467 6.3467
Number4 and Number5 minus -1.9267 1.9267
Number4 and Number5 times 9.1421 9.1421
Number4 and Number5 rdivide 0.5342 1.8718
Number4 and Number5 ldivide 1.8718 0.5342
Number4 and Number5 power 26.5857 23.0571
Number4, Number5 and
Number6
plus 12.6934 12.6934
Number7 and Number6 times 40.2806 40.2806
Observations – Using
Operators
 To used operators between more than 2
values we have to use operators such as + ,
- , * , / , ^ etc.
 Example (a+b+c)
 Operators can also by using syllables such as
plus, minus, times, rdivide, ldivide, etc.
 Example (plus(a,))
Using Operators (Number8 = 26,
Number9 = 11, Number10 = -11)
Input Description
Function
Name
Result
Number8 and
Number9 Round toward nearest
integer
round 2
Number8 and
Number10
round 0
Number8 and
Number9 Round towards negative
infinity
floor 2
Number8 and
Number10
Floor -1
Number8 and
Number9
Round toward zero
fix 0
Number8 and
Number10
fix 0
Number8 and
Number9
Round toward positive infinity
ceil 1
Number8 and
Number10
ceil 0
Number8 and
Number9
Remainder rem 11
THE
END

More Related Content

PPTX
Piecewise functions
PDF
Lecture17 arrays.ppt
PDF
Selection sort
PPTX
Chapter 7.3
PPTX
Queue - Data structure
PDF
Python_ 3 CheatSheet
Piecewise functions
Lecture17 arrays.ppt
Selection sort
Chapter 7.3
Queue - Data structure
Python_ 3 CheatSheet

Similar to MathLab Overview (20)

PDF
Data types
PPTX
1.2 matlab numerical data
PPTX
Learn C LANGUAGE at ASIT
PPT
c token used in mathemetical programming
PDF
Chpater 6
PPT
Mesics lecture 3 c – constants and variables
PPT
FP 201 Unit 2 - Part 2
PDF
Session2
PDF
Matlab numbers
PPT
lecture2.ppt FOR C PROGRAMMING AND DATA S TRUCT
PPT
lecture-ON-C.ppt BASIC WITH DEPTH CONTENT
PPT
basic of C programming (token, keywords)lecture2.ppt
PPT
lecture2.ppt...............................................
PPT
lecture2.ppt
PPT
Chapter-2 is for tokens in C programming
PDF
Lec04-CS110 Computational Engineering
PPTX
Data Representation
PDF
Practical Guides on Programming with Big Number Library in Scientific Researches
PPT
Datatypes
PDF
Rubykaigi2010mrkn bigdecimal
Data types
1.2 matlab numerical data
Learn C LANGUAGE at ASIT
c token used in mathemetical programming
Chpater 6
Mesics lecture 3 c – constants and variables
FP 201 Unit 2 - Part 2
Session2
Matlab numbers
lecture2.ppt FOR C PROGRAMMING AND DATA S TRUCT
lecture-ON-C.ppt BASIC WITH DEPTH CONTENT
basic of C programming (token, keywords)lecture2.ppt
lecture2.ppt...............................................
lecture2.ppt
Chapter-2 is for tokens in C programming
Lec04-CS110 Computational Engineering
Data Representation
Practical Guides on Programming with Big Number Library in Scientific Researches
Datatypes
Rubykaigi2010mrkn bigdecimal
Ad

More from Shrikunj Patel (18)

PPTX
Do I Wanna Know? - Arctic Monkeys
PPTX
Electrical conductivity and mechcanical properties oi magnesium
PPTX
Introduction
PPTX
Limit, fits and tolerance
PPTX
Types of fluids c
PPTX
Surface tension & capillarity c
PPTX
Properties of fluids c
PPTX
Pressure measurment devices
PPTX
Fluid pressure
PPT
Work methods
DOCX
Superfinishing process
PPTX
Microcontroller poster
DOCX
Micro controller
PPTX
Limit gauges
PPTX
Laser beam welding
DOCX
Laser beam welding
PPTX
Hydro test pump
PPTX
Cnc machine centre
Do I Wanna Know? - Arctic Monkeys
Electrical conductivity and mechcanical properties oi magnesium
Introduction
Limit, fits and tolerance
Types of fluids c
Surface tension & capillarity c
Properties of fluids c
Pressure measurment devices
Fluid pressure
Work methods
Superfinishing process
Microcontroller poster
Micro controller
Limit gauges
Laser beam welding
Laser beam welding
Hydro test pump
Cnc machine centre
Ad

Recently uploaded (20)

PPTX
Module 8- Technological and Communication Skills.pptx
PDF
Prof. Dr. KAYIHURA A. SILAS MUNYANEZA, PhD..pdf
PDF
distributed database system" (DDBS) is often used to refer to both the distri...
PPTX
Measurement Uncertainty and Measurement System analysis
PDF
August -2025_Top10 Read_Articles_ijait.pdf
PDF
20250617 - IR - Global Guide for HR - 51 pages.pdf
PDF
Accra-Kumasi Expressway - Prefeasibility Report Volume 1 of 7.11.2018.pdf
PDF
UEFA_Embodied_Carbon_Emissions_Football_Infrastructure.pdf
PPTX
Chemical Technological Processes, Feasibility Study and Chemical Process Indu...
PPTX
Software Engineering and software moduleing
PDF
Exploratory_Data_Analysis_Fundamentals.pdf
PPTX
CN_Unite_1 AI&DS ENGGERING SPPU PUNE UNIVERSITY
PDF
Implantable Drug Delivery System_NDDS_BPHARMACY__SEM VII_PCI .pdf
PPTX
ASME PCC-02 TRAINING -DESKTOP-NLE5HNP.pptx
PPTX
CyberSecurity Mobile and Wireless Devices
PPTX
Petroleum Refining & Petrochemicals.pptx
PDF
Java Basics-Introduction and program control
PPTX
AUTOMOTIVE ENGINE MANAGEMENT (MECHATRONICS).pptx
PDF
UEFA_Carbon_Footprint_Calculator_Methology_2.0.pdf
PPTX
Feature types and data preprocessing steps
Module 8- Technological and Communication Skills.pptx
Prof. Dr. KAYIHURA A. SILAS MUNYANEZA, PhD..pdf
distributed database system" (DDBS) is often used to refer to both the distri...
Measurement Uncertainty and Measurement System analysis
August -2025_Top10 Read_Articles_ijait.pdf
20250617 - IR - Global Guide for HR - 51 pages.pdf
Accra-Kumasi Expressway - Prefeasibility Report Volume 1 of 7.11.2018.pdf
UEFA_Embodied_Carbon_Emissions_Football_Infrastructure.pdf
Chemical Technological Processes, Feasibility Study and Chemical Process Indu...
Software Engineering and software moduleing
Exploratory_Data_Analysis_Fundamentals.pdf
CN_Unite_1 AI&DS ENGGERING SPPU PUNE UNIVERSITY
Implantable Drug Delivery System_NDDS_BPHARMACY__SEM VII_PCI .pdf
ASME PCC-02 TRAINING -DESKTOP-NLE5HNP.pptx
CyberSecurity Mobile and Wireless Devices
Petroleum Refining & Petrochemicals.pptx
Java Basics-Introduction and program control
AUTOMOTIVE ENGINE MANAGEMENT (MECHATRONICS).pptx
UEFA_Carbon_Footprint_Calculator_Methology_2.0.pdf
Feature types and data preprocessing steps

MathLab Overview

  • 1. MATHLAB (R2019A) OVERVIEW Prepared By:- Shrikunj Patel (W0753070), Jay Panchal (W0751781)
  • 2. Layout Settings Command Window Current Folder Window WorkspacePanel Titles Tool Strip Command History Quick Access Toolbar Current Folder Toolbar
  • 3. Formatting (Number1 = 1.23456789) Input Argument Output 1.23456789 Short 1.2346 1.23456789 Long 1.234567890000000 1.23456789 Shorte 1.2346e+00 1.23456789 Longe 1.234567890000000e+00 1.23456789 Shortg 1.2346 1.23456789 Longg 1.23456789 1.23456789 Shorteng 1.2346e+000 1.23456789 Longeng 1.23456789000000e+000 1.23456789 Hex 3ff3c0ca4283de1b 1.23456789 + + 1.23456789 Bank 1.23 1.23456789 Rat 100/81 1.23456789 Compact 100/81 (single space format) 1.23456789 Loose 100/81 (double space format)
  • 4. Formatting (Number2 = -4.2) Input Argument Output -4.2 Short -4.2000 -4.2 Long -4.200000000000000 -4.2 Shorte -4.2000e+00 -4.2 Longe -4.200000000000000e+00 -4.2 Shortg -4.2 -4.2 Longg -4.2 -4.2 Shorteng -4.2000e+000 -4.2 Longeng -4.20000000000000e+000 -4.2 Hex C010cccccccccccd -4.2 + - -4.2 Bank -4.20 -4.2 Rat -21/5 -4.2 Compact -21/5 (single spacing format) -4.2 Loose -21/5 (double spacing format)
  • 5. Observation from above Formatting (Number1 = 1.23456789), (Number2 = -4.2)  Precision of the output values changes as per the format selected.  For whole number with decimal point all values has minimum 4 decimal output is generated for short format.  For whole number with decimal point all values has maximum 15 decimal output is generated for long format.  Format styling can be changed according to the spacing required for output.
  • 6. Formatting (Number3 = - 1.23456789) Input Argumen t Type of Number (double) Type of Number (Single) -1.23456789 Short -1.234 (8 bytes) -1.234 (4 bytes) -1.23456789 Long -1.234567890000000 (8 bytes) -1.23456789 (4 bytes) -1.23456789 Shorte -1.2346e+00 (8 bytes) -1.2346e+00 (4 bytes) -1.23456789 Longe -1.234567890000000e+00 (8 bytes) -1.2345679e+00 (4 bytes) -1.23456789 Shortg -1.2346 (8 bytes) -1.2346 (4 bytes) -1.23456789 Longg -1.23456789 (8 bytes) -1.234568 (4 bytes) -1.23456789 Shorteng -1.2346e+000 (8 bytes) -1.2346e+000 (4 bytes) -1.23456789 Longeng -1.23456789000000e+000 (8 bytes) -1.234568e+000 (4 bytes) -1.23456789 Hex Bff3c0ca4283de1b (8 bytes) Bf9e0652 (4 bytes) -1.23456789 + - (8 bytes) - (4 bytes) -1.23456789 Bank -1.23 (8 bytes) -1.23 (4 bytes) -1.23456789 Rat -100/81 (8 bytes) -100/81 (4 bytes) -1.23456789 Compact -100/81 (8 bytes) (single spacing format) -100/81 (4 bytes) (single spacing format)
  • 7. Formatting (Number3 = - 1.23456789) Input Argumen t Type of Number (int8) Type of Number (int32) -1.23456789 Short -1(1 bytes) -1 (4 bytes) -1.23456789 Long -1 (1 bytes) -1 (4 bytes) -1.23456789 Shorte -1 (1 bytes) -1 (4 bytes) -1.23456789 Longe -1 (1 bytes) -1 (4 bytes) -1.23456789 Shortg -1 (1 bytes) -1 (4 bytes) -1.23456789 Longg -1 (1 bytes) -1 (4 bytes) -1.23456789 Shorteng -1 (1 bytes) -1 (4 bytes) -1.23456789 Longeng -1 (1 bytes) -1 (4 bytes) -1.23456789 Hex ff (1 bytes) ffffffff (4 bytes) -1.23456789 + - (1 bytes) - (4 bytes) -1.23456789 Bank -1.23 (1 bytes) -1 (4bytes) -1.23456789 Rat -1 (1 bytes) -1 (4 bytes) -1.23456789 Compact -1 (1 bytes) (Single spacing format) -1 (4 bytes) (single spacing format) -1.23456789 Loose -1 (1 bytes) (double spacing format) -1 (4 bytes) (double spacing format)
  • 8. Formatting (Number3 = - 1.23456789) Input Argumen t Type of Number (uint8) Type of Number (uint64) -1.23456789 Short 0 (1 bytes) 0 (8 bytes) -1.23456789 Long 0 (1 bytes) 0 (8 bytes) -1.23456789 Shorte 0 (1 bytes) 0 (8 bytes) -1.23456789 Longe 0 (1 bytes) 0 (8 bytes) -1.23456789 Shortg 0 (1 bytes) 0 (8 bytes) -1.23456789 Longg 0 (1 bytes) 0 (8 bytes) -1.23456789 Shorteng 0 (1 bytes) 0 (8 bytes) -1.23456789 Longeng 0 (1 bytes) 0 (8 bytes) -1.23456789 Hex 00 (1 bytes) 0000000000000000 (8 bytes) -1.23456789 + ~ ~ -1.23456789 Bank 0 (1 bytes) 0 (8 bytes) -1.23456789 Rat 0 (1 bytes) 0 (8 bytes) -1.23456789 Compact 0 (1 bytes) (single spacing format)ss 0 (8 bytes) (single spacing format) -1.23456789 Loose 0 (1 bytes) (double spacing format) 0 (8 bytes) (double spacing format)
  • 9. Observations from above Formatting (Number3 = - 1.23456789)  Variables of data types (class) can be stored as different bytes according to output required.  Precision can be changed of floating point value according to the requirement.  Unassigned integers of different data types also can be stored as different bytes.
  • 10. Using Operators (Number4 = 2.21, Number5 = 4.1367) Input Operato r Number 6 Number 7 Number4 and Number5 plus 6.3467 6.3467 Number4 and Number5 minus -1.9267 1.9267 Number4 and Number5 times 9.1421 9.1421 Number4 and Number5 rdivide 0.5342 1.8718 Number4 and Number5 ldivide 1.8718 0.5342 Number4 and Number5 power 26.5857 23.0571 Number4, Number5 and Number6 plus 12.6934 12.6934 Number7 and Number6 times 40.2806 40.2806
  • 11. Observations – Using Operators  To used operators between more than 2 values we have to use operators such as + , - , * , / , ^ etc.  Example (a+b+c)  Operators can also by using syllables such as plus, minus, times, rdivide, ldivide, etc.  Example (plus(a,))
  • 12. Using Operators (Number8 = 26, Number9 = 11, Number10 = -11) Input Description Function Name Result Number8 and Number9 Round toward nearest integer round 2 Number8 and Number10 round 0 Number8 and Number9 Round towards negative infinity floor 2 Number8 and Number10 Floor -1 Number8 and Number9 Round toward zero fix 0 Number8 and Number10 fix 0 Number8 and Number9 Round toward positive infinity ceil 1 Number8 and Number10 ceil 0 Number8 and Number9 Remainder rem 11