0% found this document useful (0 votes)
18 views

MATLAB

This document provides an overview of common MATLAB commands and operations including: clearing variables and screens, getting help, basic arithmetic, formatting, logarithmic/trigonometric/exponential functions, arrays, matrices, plotting, functions, loops, finite element analysis examples, and symbolic computation. It serves as an introduction to essential MATLAB basics.

Uploaded by

rex_fred92
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
18 views

MATLAB

This document provides an overview of common MATLAB commands and operations including: clearing variables and screens, getting help, basic arithmetic, formatting, logarithmic/trigonometric/exponential functions, arrays, matrices, plotting, functions, loops, finite element analysis examples, and symbolic computation. It serves as an introduction to essential MATLAB basics.

Uploaded by

rex_fred92
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 17

MATLAB

BASICS

Rex Alfred E. IITG


Common Commands
clc - clears screen
clear - clears workspace and variables
clear all - clears workspace, variables and
function calls
close all - closes all figures
help - when actual command is known
but syntax is unknown
look for - when the proper command is not
known

eg:- help inv: gives syntax for inverting


lookfor inverse: gives all commands involving the
concept of inversion along with syntax
Rex Alfred E. IITG
+ -

* /

\^

abs

Rex Alfred E. IITG


;
Format

Rex Alfred E. IITG


Log Trig Exp Array

Rex Alfred E. IITG


Array Operations

Rex Alfred E. IITG


Matrix Operations

Rex Alfred E. IITG


Matrix Operations

Rex Alfred E. IITG


Matrix Operations

Rex Alfred E. IITG


Matrix Operations

Rex Alfred E. IITG


Matrix Operations

Rex Alfred E. IITG


Plot

Rex Alfred E. IITG


Functions

Rex Alfred E. IITG Functions


Loops

Rex Alfred E. IITG


TRUSS EXAMPLE - FEM

Rex Alfred E. IITG


Symbolic Computation

Rex Alfred E. IITG


Symbolic Computation

Rex Alfred E. IITG

You might also like