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 comentario

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?

Iniciar sesión para comentar.

Respuestas (1)

Categorías

Más información sobre 2-D and 3-D Plots en Centro de ayuda y File Exchange.

Preguntada:

el 23 de Ag. de 2015

Respondida:

el 23 de Ag. de 2015

Community Treasure Hunt

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

Start Hunting!

Translated by