Solve expression for given vector x.
Expression = (tan(2*x^2+7*x-30.25)+log(x^3-2.25))/(nthroot(sin(x^3)^2+1/5*log(x^4-2.5),3))
Note that this problem uses the word solve when it needs to say EVALUATE.
Andriy, Cody is a GAME !
Where is the game here ?
You give a function and I must copy/paste your definition.
AGREE with Jean-Marie Sainthillier: the major problem here is exposing the solution code within the Test Suite. The Test Suite should only contain _numerical_ answers. (At least the player must make a few small changes to the formula given in the Problem Statement.) See Problem 44521 for more discussion.
How to subtract?
Set the array elements whose value is 13 to 0
Check if number exists in vector
Determine the mean of matrix
Select primes from the matrix.
Solve expression I
Opposite task convert binary numbers array into array of decimal numbers.
Sum positive elements of matrix.
For given xx,x, y vectors build spline of x and y and find yy values for xx vector.
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