Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- flatHeight = [[32,31,27,21,13,6,6,13,21,27,31]
- [49,46,41,32,23,13,13,23,32,41,46]
- [66,63,55,44,32,21,21,32,44,55,63]
- [86,81,69,55,41,27,27,41,55,69,81]
- [106,97,81,63,46,31,31,46,63,81,97]
- [128,106,86,66,49,32,32,49,66,86,106]
- [106,97,81,63,46,31,31,46,63,81,97]
- [86,81,69,55,41,27,27,41,55,69,81]
- [66,63,55,44,32,21,21,32,44,55,63]
- [49,46,41,32,23,13,13,23,32,41,46]
- [32,31,27,21,13,6,6,13,21,27,31]];
- filteredHeight = flatHeight
- flatHeight(flatHeight >= 20 | flatHeight <= 50) = 0;
- % Operands to the || and && operators must be convertible to logical
- % scalar values.
- disp(filteredHeight);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement