Guide to Programming Languages and Their Applications Study Guide
Explore the landscape of programming languages, understanding their levels, execution methods, and general vs. targeted uses. Learn about popular languages like Python, C++, Java, SQL, R, HTML, MATLAB, and GNU Octave, their strengths, weaknesses, and typical applications in areas such as data science, AI/ML, systems programming, web development, and numerical computing.
Save this study guide to your study set
Your learning path
MATLAB Arrays, Matrices, and Basic Operations
MATLAB Functions and Elementary Math
MATLAB expressions can include functions that take inputs such as numbers, variables, or expressions to produce outputs, including built-in elementary math, trig, and number rounding functions.
- MATLAB functions
- Function arguments
- Built-in functions
- Elementary math functions
- Elementary trig functions
- Number rounding functions
MATLAB Functions and Elementary Math Operations
Read · 3 min
- Import & open
Flashcards
Import to get started
- Import & open
Quiz
Import to get started
- Import & open
Practice test
Import to get started
- Import & open
Listen
Import to get started
- Import & open
Tutor Me
Import to get started
- Import & open
Watch
Import to get started
- Import & open
Chat
Import to get started
- Import & open
Arcade
Import to get started
MATLAB Arrays, Vectors, Matrices, and Random Numbers
- array
- vector
- matrix
- row vector
- column vector
- dimensions
- Constant Spacing Vectors
- m:q:n command
- Fixed Length Vectors
- linspace command
- Two-dimensional matrices
- Special Matrix Commands
- zeros(m,n)
- ones(m,n)
- eye(n)
- Random numbers
- rand command
- randn command
- Row vectors
MATLAB Matrices and Special Matrix Commands
This content covers matrices, vectors, and scalars, including special matrix commands like zeros, ones, and eye.
- Matrices
- Scalars
- Vectors
- linspace
- zeros
- ones
- eye
- Special Matrix Commands
- Arrays
Filling Arrays with Random Numbers
MATLAB commands rand, randi, and randn can create scalars, vectors, or matrices of random numbers.
- rand command
- randn command
- uniformly distributed random numbers
- uniformly distributed random integers
- normal distribution
- mean
- standard deviation
MATLAB Vector and Matrix Operations
This topic covers transposing variables, accessing elements and ranges, performing element-by-element and linear algebra operations, and appending vectors and matrices.
- Transpose Operator
- Accessing Elements
- Indexing
- Accessing Ranges of Elements
- Element-by-element operations
- Scalar product
- Matrix multiplication
- Creating Matrices from Vectors
- Appending to Vectors
- Creating Matrices from Matrices
- Trigonometric Commands and Arrays
MATLAB Arrays, Matrices, and Built-in Functions
This topic covers elementwise operations, array indexing using subscripts and the colon operator, saving and loading variables, and utilizing built-in functions for matrix and vector manipulation.
- Elementwise operations
- Array indexing
- Subscripts
- Colon operator
- Matrix manipulation
- Appending and concatenating
- Deleting elements
- Built-in array functions
- Trigonometric commands
- Data management
- save and load commands
- index vs. subscript
- matrix indexing
- min and max functions
- matrix built-in functions
- reshape
- diag command
- mean and sum
- sort and median
- standard deviation
Fundamentals of Computing, Programming, and MATLAB
Comparison of Top Computer Programming Languages
A comparison of programming languages including Python, C++, Java, SQL, R, HTML, and MATLAB based on primary domain, core advantage, and main drawback.
- Python
- C++
- SQL
- R
- GNU Octave
- Data Science
- AI/ML
- Systems Programming
- Relational Database Management
- Advanced Statistical Computing
- Matrix manipulations
- Numerical computing
Comparison of Top Computer Programming Languages
Read · 4 min
- Import & open
Flashcards
Import to get started
- Import & open
Quiz
Import to get started
- Import & open
Practice test
Import to get started
- Import & open
Listen
Import to get started
- Import & open
Tutor Me
Import to get started
- Import & open
Watch
Import to get started
- Import & open
Chat
Import to get started
- Import & open
Arcade
Import to get started
Number Systems and MATLAB Introduction
Introduction to number systems including decimal, binary, hexadecimal, floating-point numbers, ASCII characters, and MATLAB introduction.
- Decimal
- Binary
- Floating-point numbers
- ASCII characters
- MATLAB command window
- Arithmetic operations
- Built-in math functions
- Scalar variables
- Unsigned integer numbers
- Signed integer numbers
- Two's complement
- One's complement
Binary Decimal and Hexadecimal Conversions
Methods for converting between binary, decimal, and hexadecimal values using step-by-step conversion processes.
- Binary to Hexadecimal conversion
- Integer value reference
- Integer quotient and remainder method
Floating-point Numbers and ASCII Characters
- Floating-point representation
- Significand
- Exponent
- Single precision
- Double precision
- Binary floating-point
- Floating-point precision
- Rounding errors
- ASCII (American Standard Code for Information Interchange)
- Extended ASCII
- Unicode (UCS)
Introduction to Computing and MATLAB
- Theoretical computer science
- Computer systems and computational processes
- Applied computer science
- Microcomputers
- Minicomputers
- Mainframe computer
- Supercomputer
- Server
- Workstations
- Information appliances
- Embedded computers
- GPU Cluster
- Digital storage devices
- Input/Output devices
- Operating systems
- Application software
Fundamentals of Programming and Languages
The fundamental idea of programming involves assembling a sequence of instructions and understanding programming languages, software bugs, and Turing completeness.
- Programming instructions
- Software bugs
- Debugging
- Year 2000 problem
- Programming language domains
- Low-level versus high-level languages
- Interpreted versus compiled languages
- Programming language generations
- Machine languages
- Assembly languages
- Universal Turing Machine
- Turing completeness
Introduction to MATLAB and its Capabilities
- Matrix manipulations
- Data analysis
- Signal processing
- Numerical computing
- GNU Octave
- Open source alternative
Solving Linear Equations and Singular Value Decomposition
Examples covering solving a system of linear equations Ax=b using Gaussian elimination and Singular Value Decomposition of a matrix.
- Solving a system of linear equations
- Gaussian elimination solution
- Python code for square A
- Python code for LS solution
- MATLAB code
- Singular Value Decomposition
Introduction to MATLAB and Number Representations
Introduction to MATLAB programming, arithmetic operations, and the representation of integer and floating-point numbers.
- MATLAB introduction
- Built-in math functions
- Variables and assignment
- Arrays
- Vectors
- Matrices
- Random Numbers
- Integer Numbers
- Binary to Integer conversion
- One's Complement
- Two's Complement
- Binary to Decimal
- Floating-point Numbers
- Significand
- Exponent
- IEEE Standard for Binary Floating-Point Arithmetic
- Single precision
- Double precision
- Floating-point Precision
- Rounding errors
Using MATLAB as a Calculator
Using MATLAB as a calculator to type mathematical expressions and using the format command to control the display of numbers.
- mathematical expression
- command window
- format command
- fixed point
- full precision
MATLAB Desktop, Variables, and Programming Basics
MATLAB Desktop and Command Syntax
An introduction to the MATLAB Desktop environment, command window navigation, arithmetic operators, and formatting display.
- MATLAB Desktop windows
- Command window navigation
- Interactive mode vs batch mode
- Command syntax
- Semicolon output suppression
- Percent sign comments
- clc command
- Arithmetic operators
- Order of precedence
- Format command
MATLAB Variables and Assignment Operators
This document explains how to use the assignment operator to store values in variables, follow variable name rules, manage the workspace area, and change variable values.
- Variable definition
- Assignment operator
- Variable name rules
- Case-sensitivity
- MATLAB keywords
- Predefined variables
- Workspace area
- Multiple assignments
- Undefined variables
- Expressions
- Changing variable values
- Variable editor
- Comments
MATLAB Variables and Functions Rules
Guidelines for defining variables, naming conventions, MATLAB keywords, and managing memory using clear and whos commands.
- Variable definition
- Variable naming rules
- Case-sensitivity
- MATLAB keywords
- Predefined variables
- clear command
- whos command
- who command
Introduction to MATLAB Programming and Scripts
Learn to use script files, also called m-files, to save, edit, and execute sequences of MATLAB commands.
- MATLAB Programming
- Script files
- m-files
- Editor/Debugger Window
- Comment lines
- Executing a script file
- Managing folders
- mkdir command
- cd command
Basic MATLAB Programming and Variables
Learn to create scripts, use variables, and implement the input command in MATLAB programming.
- Script editor
- Variables
- Programming mode
- Assigning variable values
- MATLAB input command
- String input with 's' qualifier
MATLAB Output Commands disp and fprintf
This topic covers using the MATLAB commands disp and fprintf to display variable values or text on the screen with varying levels of control over appearance.
- disp command
- fprintf command
- sprintf command
- string concatenation
- character array concatenation
- new line character \n
- placeholders
- formatting output
Formatting Output with fprintf
Rules for using integer, floating point, and scientific notation placeholders with fprintf including padding, justification, and escape characters.
- fprintf placeholders
- Padding and justification
- Floating point placeholders
- Scientific notation
- Escape characters
- Format strings
Working with MATLAB Live Scripts
Live Scripts allow users to work with code dynamically using the Live Editor to create reports containing code, formatted content, and output.
- Live Scripts
- Live Editor
- XML format
- Text markup
- Section breaks
- Output pane
- imread command
- image command
- Incorporating graphics
Make it your own.
Keep these readings and topics in a new study set, or add them to one you already use.