Problem 44692. Is input the global variable z?
When the input is certainly not the global variable z, your function must return false. Otherwise return true. All inputs & variable values will be scalar.
Solution Stats
Problem Comments
-
2 Comments
I finally understood your problem. The problem description needs some adjustment. It is not clear that it is requesting only the global variable named 'z'. I thought it was referring to every global variable.
"global variable z" was explicitly mentioned in both the problem title and the problem description. Other than that, I trust that your comment and the Test Suite should be sufficient to remove any residual doubts.
—DIV
Solution Comments
Show commentsProblem Recent Solvers4
Suggested Problems
-
Find the sum of all the numbers of the input vector
53511 Solvers
-
How to find the position of an element in a vector without using the find function
2810 Solvers
-
899 Solvers
-
Sum of first n terms of a harmonic progression
493 Solvers
-
Find the optimal shape to bring the maximum product by a given perimeter
44 Solvers
More from this Author32
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!