Your problem does not work. Entering the formulas for sphere volume and area does not lead to correct solution.
pi() should be replaced with pi.
This test suite does not work. This problem uses 'sphere' as the function handle, but MATLAB already has a sphere function. This means whenever the test suite runs the code entered by the user is never touched, MATLAB runs its own sphere function on the input given, which return matrices representing a unit sphere. This test suite must be changed for this problem to be solvable.
Has anyone solved this Problem ? it Looks like some error in test suits.
even if you copy the y, z values from test suit and make straight Forward answer without any logic, still it Fails.
This problem is now solvable. The error came in the function being named sphere(), as that is already a built-in function Matlab.
Why is it not equal????
Sort a list of complex numbers based on far they are from the origin.
Right and wrong
matrix of natural number
Length of the hypotenuse
Divide by 4
Can I make a right triangle ?
Number of odd and even elements within matrix
Return area of square
How many digits are there?
Make a vector of prime numbers
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