0% found this document useful (0 votes)
33 views23 pages

MATLAB Basics: Arrays, Functions, and More

The document serves as an introduction to MATLAB, outlining basic commands for accessing help and demonstrations. It covers fundamental concepts such as variables, arrays, vectors, matrices, and mathematical operations. Additionally, it briefly mentions polynomial operations and applications like curve fitting and interpolation.

Uploaded by

smsm.maro1666
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
33 views23 pages

MATLAB Basics: Arrays, Functions, and More

The document serves as an introduction to MATLAB, outlining basic commands for accessing help and demonstrations. It covers fundamental concepts such as variables, arrays, vectors, matrices, and mathematical operations. Additionally, it briefly mentions polynomial operations and applications like curve fitting and interpolation.

Uploaded by

smsm.maro1666
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

Introduction to MATLAB

Introduction
To get started, type one of these commands: helpwin, helpdesk, or demo

>> The various forms of help available are

helpwin Opens a matlab help GUI


demo Starts the matlab demonstration

Home -> environment -> Preferences


Variables and Scalars
-----------------------------------------------------------------------------------

Arrays, Vectors and Matrices

V = [ 1 4 6 7];
V2 = 1:7;
V3 = 1:2:10;

V1 +V2
V1-V2
V1/V2 or V1*V2 ?
Matrices
Matlab Functions

Mathematical operations

Example
Exercise
Application

Polynomials
Polynomial multiplication
Curve Fitting (Regression)
Interpolation

You might also like