Sign In | Subscribe
Start learning today, and be successful in your academic & professional career. Start Today!
Loading video...
This is a quick preview of the lesson. For full access, please Log In or Sign up.
For more information, please see full course syllabus of MATLAB
  • Discussion

  • Study Guides

  • Download Lecture Slides

  • Table of Contents

  • Related Books

Bookmark and Share

Start Learning Now

Our free lessons will get you started (Adobe Flash® required).
Get immediate access to our entire library.

Sign up for Educator.com

Membership Overview

  • Unlimited access to our entire library of courses.
  • Search and jump to exactly what you want to learn.
  • *Ask questions and get answers from the community and our teachers!
  • Practice questions with step-by-step solutions.
  • Download lesson files for programming and software training practice.
  • Track your course viewing progress.
  • Download lecture slides for taking notes.
  • Learn at your own pace... anytime, anywhere!

Logical Vectors, Part 1

  • In this session and the following one we are going to understand logical vectors more fully and also how to use them in a number of applications.
  • One example that we study is discontinuous graphs, remember that logical operands have an output of either one or zero, which we can use as a value. Other examples are avoiding division by zero and a rolling dice. The rolling dice program can be regarded as one of the first simulation applications of MATLAB.

Logical Vectors, Part 1

Lecture Slides are screen-captured images of important points in the lecture. Students can download and print out these lecture slide images to do practice problems as well as take notes while watching the lecture.

  • Intro 0:00
  • Executing a Logical Operation 1:24
    • Vector
  • Discontinuous Graphs 2:50
  • Avoiding Division By Zero 5:03
    • Epsilon
  • Rolling Dice 7:49
    • Rand
    • Floor
    • Finding Percentage