12.010.lec15 - massachusetts institute of technologytah/12.010/12.010.lec15.pdf · 2010. 10....

14
1

Upload: others

Post on 01-Feb-2021

5 views

Category:

Documents


0 download

TRANSCRIPT

  • 1

  • 2

  • 3

  • 4

    To here 10/21

  • 5

  • 6

  • 7

  • 8

  • 9

  • 10

    All returns true if all elements are non-zero, any is true if some elements are non-zero, find returns indices that match the condition e.g., A=rand(10,1)*10; iels = find(A > 5), lels = logical(A>5)

  • 11

  • 12

  • 13

  • 14