How can I add plot Err versus i
显示 更早的评论

1 个评论
Ali Hagverdiyev
2020-3-28
Hi Beyza,
You can create two vectors one for "i" another for "error". Then plot them.
回答(1 个)
Ali Hagverdiyev
2020-3-28
0 个投票
you could also include this in the while loop, let me know if it works!
figure(1)
scatter(i,Err,'o','blue');
hold on
类别
在 帮助中心 和 File Exchange 中查找有关 2-D and 3-D Plots 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!