could anyone help me how to plot the overwritten values.

I am getting the following result when i run the code with respect to [1,2,3],[4,5,6,7]
Below results are for rng = 1
output1 = 1.9341e+10
Below results are for rng = 2
output1 = 1.0e+10 * 1.9341 1.6240
Below results are for rng = 3
output1 = 1.0e+10 * 1.9341 1.6240 1.9231
Below results are for rng = 4
output1 = 1.0e+10 * 2.0844 1.6240 1.9231
Below results are for rng = 5
output1 = 1.0e+10 * 2.0844 1.8243 1.9231
Below results are for rng = 6
output1 = 1.0e+10 * 2.0844 1.8243 2.0726
Below results are for rng = 7
output1 = 1.0e+10 * 2.0844 1.8243 2.0726 1.9781
i want to plot the values of [1,2,3] and [4,5,6,7] in the graph. But my graph displays the values of [4,5,6,7]. It does not display the values of [1,2,3] as it is overwritten.
Could anyone help me how to plot the overwritten values.

Answers (0)

This question is closed.

Tags

Asked:

on 6 Apr 2018

Closed:

on 20 Aug 2021

Community Treasure Hunt

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

Start Hunting!