How do I plot array as first element on it is x-axis and 2nd is y axis , then I get it's equation ?

I have the attached selection sort code I want to plot m variable what I get is 2 lines what I want is the first element (x1,y1), (x2,y2) , ............ Then I want the equation of the graph
Thanks

1 Kommentar

To make your question clear, just post what is needed to answer your question. What is exactly your problem? how to plot? how to fit a function to your data?

Melden Sie sich an, um zu kommentieren.

Antworten (1)

Kategorien

Mehr zu 2-D and 3-D Plots finden Sie in Hilfe-Center und File Exchange

Gefragt:

am 23 Aug. 2015

Beantwortet:

am 23 Aug. 2015

Community Treasure Hunt

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

Start Hunting!

Translated by