Write a statement that will store logical true in a variable named “isit” if the value of a variable “x” is in the range from 0 to 10, or logical false if not. Do this with just one assignment statement, with no if or if-else statement!
belongs to book: MATLAB: A Practical Introduction to Programming and Problem Solving|Stormy Attaway|Fourth Edition| Chapter number:4| Question number:6.4
All Answers
total answers (1)
isit = x > 0 && x < 10
need an explanation for this answer? contact us directly to get an explanation for this answer