INPUT x=10 & y=10
INPUT x=2 & y=3
OUTPUT z= 216
you just need to calculate the product first then find the value of the power.
Could you provide a clearer explanation of the required task?
As far as I can tell, the objective is to find the combined product of two numbers and their squares.
(x*y)^3 or (x*y)*((x*y)^2 - my guess
The product of what?
The power of what?
What esponent of the power?
Find the sum of the elements in the "second" diagonal
Check if number exists in vector
We love vectorized solutions. Problem 1 : remove the row average.
Say something funny
Volume of a box
factor to number
Diagonal & Anti-Diagonal Matrix: Easy
ZigZag matrix with reflected format
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