for n=
if n>1
f=sqrt(1+(n-1));
else
f=2;
end
end
this is what I got, but what do I write in the start with n= ???? to get the correct values?
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!