Advertisement
Guest User

Untitled

a guest
Feb 23rd, 2019
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.14 KB | None | 0 0
  1.  
  2. x = 6;
  3.  
  4. switch(x)
  5. case num2cell(1:5)
  6. disp('1-5');
  7. case num2cell(6:10)
  8. disp('6-10');
  9. otherwise
  10. disp('otherwise')
  11. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement