Académique Documents
Professionnel Documents
Culture Documents
Advertisement
Search
10 Medicinal Herbs to
Boost Your Immunity - For
Dummies
Strength-Training Exercise:
The Push-Up - For Dummies
Programming
Advertisement
More Series
C++ All-In-One For Dummies Cheat Sheet
ASP.NET 3.5 For Dummies Cheat Sheet
Windows PowerShell 2 For Dummies Cheat Sheet
PHP & MySQL For Dummies Cheat Sheet
Visual Basic.NET All-in-One Desk Reference For
Dummies Cheat Sheet
Command
Purpose
cla
clc
clear <variable
name>
clear all
name>
close all
diary <filename>
close <figure
Featured Book
MATLAB For Dummies
US $29.99
Add To Cart
diary off
diary on
exist <keyword>
format compact
gca
gcf
gco
get(<handle>,
<property>)
pointed at by <handle>
help <command or
file>
iskeyword
iskeyword <name>
load <filename>
more off
more on
save <filename>
Advertisement
Newsletters
Sign up for one of our newsletters...
Digital Photography
Mac
set(<handle>,
<property>,
<value>)
<value>
Privacy Policy
Type
Description
Example
Arithmetic
5 - 2 = 3
Arithmetic
5 * 2 = 10
Arithmetic
5^2 = 25
Arithmetic
5 / 2 =
5 \ 2 =
Arithmetic
2.5000
0.4000
Arithmetic
5 + 2 = 7
Arithmetic
Modifies operators to
perform element-by-element
arithmetic vis--vis matrix
arithmetic. You receive no
modification if you're
operating on scalars
(ordinary numbers).
[1,2]*[3;4]
MyVar = 2
Assignment
= 11
[1,2].*[3,4]
= [3,8]
results in
MyVar
containing
2
bitand
bitor
bitget
bitset
bitshift
bitxor
Bitwise
Bitwise
Bitwise
Bitwise
Bitwise
Bitwise
bitand(4,
5) = 4
bitor(4, 5)
= 5
bitget(4,
bitset(4,
bitshift(2,
Performs a logical
exclusive or on the bits
bitxor(4,
3) = 1
1, 1) = 5
1) = 4
5) = 1
in two numbers.
and
Logical
and(true,
true) = 1
(or true)
and(true,
false) = 0
(or false)
and(false,
false) = 0
and(false,
true) = 0
not
Logical
not(true) =
0
not(false)=1
true.
or
Logical
or(true,
true) = 1
or(true,
false) = 1
or(false,
false) = 0
or(false,
true) = 1
xor
Logical
xor(true,
true) = 0
xor(true,
false) = 1
xor(false,
false) = 0
xor(false,
true) = 1
all
Logical
all([1, 2,
3, 4]) = 1
all([0, 1,
2, 3]) = 0
any
Logical
any([0, 1,
0, 0]) = 1
nonzero or true.
any([0, 0,
0, 0]) = 0
~=
Relational
1 ~= 2 is 1
(or true)
<
Relational
1 < 2 is 1
<=
Relational
1 <= 2 is 1
==
Relational
1 == 2 is 0
Relational
1 > 2 is 0
>=
Relational
1 >= 2 is 0
value.
-
Unary
-(-4)
results in
4 while -4
results in
-4
Unary
+4 results
in a value
of 4
Description
()
.' .^ ' ^
+ -~
.* ./
.\ * / \
+ -
Comparison operators.
>=
== ~=
Equality operators.
& |
&& ||
Color
Marker
Style
Code
Line Color
Code
Marker Style
Code
Line Style
blue
point
Solid
green
circle
Dotted
red
x-mark
-.
dash dot
cyan
plus
--
Dashed
magenta
star
(none)
no line
yellow
square
black
diamond
white
down triangle
up triangle
<
left triangle
>
right triangle
5-point star
6-point star
Remember that you can also use these styles with other kinds of
plots. For example, a scatter plot can use these styles to define
each of the data points. When in doubt, try the styles to see whether
they work with your particular plot.
Add a Comment
Share
Recommends
MATLAB Common Operator Summary
10 Amazing MATLAB Add-Ons - For Dummies
Common MATLAB Commands
Ten Things Never to Say or Do in Russia - For Dummies
Unhealthy Foods to Avoid at All Costs - For Dummies
Vir3
6 Common Causes Of
Secretly Wants, My
Boyfriend Totally
LifeBuzz
LifeBuzz
How I Learned 9
Commercial Stars?
Languages
Babbel
Bill Gates
Recommended by
Hiranandani Hyderabad
Plots for Sale Starting at Just 15 Lakhs. Enquire Today.
COMMENTS
blog comments powered by Disqus
Advertisement
About us
About For Dummies
Contact Us
Privacy Policy
Terms and Conditions
Advertise with Us
Manage Your E-Mail
Newsletters
Help
More From
Dummies
Mobile Site
My Account
Dummies B2B Services
Online Test Banks
eLearning
Mobile Apps
Dummies Store
Sweepstakes
Copyright 2016 & Trademark by John Wiley & Sons, Inc. All rights reserved.
Topics A-Z
Small Business &
Careers
Computers & Software
Consumer Electronics
Crafts & Hobbies
Education & Languages
Food & Drink
Games
Health & Fitness