Info
此问题已关闭。 请重新打开它进行编辑或回答。
Index in position 1 exceeds array bounds (must not exceed 1). please do help to fix this error.
1 次查看(过去 30 天)
显示 更早的评论
for y=0:0.1:1
if y(i,j)<=0.5
p(i,j)=2*(y(i,j)^2);
else
p(i,j)=1-2*((1-y(i,j))^2);
end
end
end
end
figure, imshow(p)
回答(1 个)
此问题已关闭。
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!