Question: User Consider 5 x 1 vectors x , y , z Denote their respective ith entry as for all i = 1 , 2 ,

User
Consider 5x1
vectors x, y, z
Denote their respective
ith entry as
for all i =1,2,...5.
Assuming
for all z_1 does not equal 0 for all of i
which of the following is the correct way to compute
(x_iy_i)/z_i +(x_2y_2)/z_2+...+(x_5y_5)/z_5
in MATLAB?
sum ((x.*y)./z)
sum((x*y)/z)
(x.*y)./z

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!