Their is error (Undefined function or variable 'new'.) plz help to solve.
显示 更早的评论
function new = fact(i)
for o=1:size(i, 1)
for j=1:size(i,2)
new (o,j,1)=i(o,j,1)*2;
new (o,j,2)=i(o,j,2)*2;
new (o,j,3)=i(o,j,3)*1;
end
end
采纳的回答
更多回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Blocked Images 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!