This MATLAB CODE PLEASE ANSWER IF YOU KNOW MATLAB CODEPlease
This MATLAB CODE PLEASE ANSWER IF YOU KNOW MATLAB CODE.Please add to my code and answer the question please.
Solution
function [ZValues = loopCompare(XValues, YValues)
len = length(XValues);
for i = 1:len
if XValues(i) > YValues(i)
ZValues(i) = XValues(i);
else
ZValues(i) = YValues(i);
end
end
end
