• Shuffle
    Toggle On
    Toggle Off
  • Alphabetize
    Toggle On
    Toggle Off
  • Front First
    Toggle On
    Toggle Off
  • Both Sides
    Toggle On
    Toggle Off
  • Read
    Toggle On
    Toggle Off
Reading...
Front

Card Range To Study

through

image

Play button

image

Play button

image

Progress

1/16

Click to flip

Use LEFT and RIGHT arrow keys to navigate between flashcards;

Use UP and DOWN arrow keys to flip the card;

H to show hint;

A reads text to speech;

16 Cards in this Set

  • Front
  • Back
Assignment Statement
>> variable name = value
How to prevent intermediate result
;
Recall previously called command
Up Key
Hierarchy of Precedence
Brackets, Exponents, M/D, A/S
Diary on > Diary Off
Logs everything in between in text file
Clear Workspace command
clear
Clear Command Window
clc
What? Image Command
image creates an image graphics object by interpreting each element in a matrix as an index into the figure's colormap or directly as RGB values, depending on the data specified.
How do you create a row?
>> x = [value value value value value]
ex. x = [1 2 3 4 5 6]
How do you create a column?
>> x = [value; value; value; value;]
ex. x = [1; 2; 3; 4]
How do you plot values?
Use "plot" command on already given values. so if x and y were assigned to something, then use plot(x, y) to plot a linear piecewise graph.
How to add tables and titles?
xlabel('blah')
ylabel('blah')
zlabel('blah')
title('hurrdurr')
What is a matrix?
Array of numbers.
How to create a matrix?
[1 2 3; 4 5 6; 7 8 9]
Accessing blocks of elements?
Let's say x = [1 5 14]
Then you write x(1:2) to have 1 5 pop up.
What does Colon Operator do?
ex = [0:1:10]
This will give a row of numbers from 0 to 10 counted by 1's.