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.
Make a Palindrome Number
Project Euler: Problem 10, Sum of Primes
Bottles of beer
Lychrel Number Test (Inspired by Project Euler Problem 55)
The other half of the Fibonacci sequence
Monte Carlo integration: area of a polygon
Make your own Test Suite (part 2)
Testing for randomness: uniform distribution of integers
Rate of event occurence: find percentiles of the distribution (for smallish rates)
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list:
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Contact your local office