Advertisement
Guest User

zad5

a guest
Mar 26th, 2019
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
MatLab 0.08 KB | None | 0 0
  1. A=[1 2 3 0 6 0];
  2. Y = any(A) %jeden niezerowy
  3. X = all(A) %wszystkie niezerowe
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement