- #1
ciekaloos
- 3
- 0
Homework Statement
for i=1: max (size(z)),
if real (z(i))>0,
z(i)=-2;
end
end
for i=2: max (size(p)),
if real (p(i))>0,
p(i)=-2;
end
end
Homework Equations
why there is always error..
it said that ? Attempted to access z(1); index out of bounds because numel(z)=0.