How can I add plot Err versus i

1 view (last 30 days)
BEYZA NUR ULUOGLU
BEYZA NUR ULUOGLU on 28 Mar 2020
Answered: Ali Hagverdiyev on 28 Mar 2020
  1 Comment
Ali Hagverdiyev
Ali Hagverdiyev on 28 Mar 2020
Hi Beyza,
You can create two vectors one for "i" another for "error". Then plot them.

Sign in to comment.

Answers (1)

Ali Hagverdiyev
Ali Hagverdiyev on 28 Mar 2020
you could also include this in the while loop, let me know if it works!
figure(1)
scatter(i,Err,'o','blue');
hold on

Categories

Find more on 2-D and 3-D Plots in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!