elseif in not executing. how to rectify this.
1 次查看(过去 30 天)
显示 更早的评论
Y=[0.946;0.2212;0.4123;0.90191;0.5432;.01546]
Y_min=min(Y);
Y_max=max(Y);
for i=1:6
if Y(i)<=Y_min
Y_m(i,:)=1;
elseif Y_min < Y(i) < Y_max
Y_m(i,:)=(Y_max-Y(i))/(Y_max-Y_min);
end
0 个评论
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!