Area of a Square
Given the length x of the side of a regular square, find the area of the square, A.
5年以上 前
解決済み
Element-wise vector product (★)
Given two vectors x and y, compute their element-wise product z.
Thus, if x = [1 3 5] and y = [0.5 -1 2], then
z = [1*0.5...