A perfect number is a number equal to sum of all proper divisors (all of divisors except itself)
Write isPerfect(x) function which gets a number and find it is perfect or not. The output of the function for is below. (Divisors are found as 1 2 3) where
6
Perfect number.
please use matlab coding to solve this question