linear fit in plot
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
zakary Surprenant
el 26 de Nov. de 2020
Comentada: Adam Danz
el 28 de Nov. de 2020
I can't get to add a linear fit line,
This is my code ma and me can be ignored it is for the other plots,
and this the graph i get, i just need to have a linear fit added into it!
0 comentarios
Respuesta aceptada
Image Analyst
el 26 de Nov. de 2020
Add this:
hold on;
plot(x, curve, 'b-', 'LineWidth', 3);
4 comentarios
Adam Danz
el 28 de Nov. de 2020
Isn't this the same question from a couple of days prior?
Más respuestas (0)
Ver también
Categorías
Más información sobre Surface and Mesh Plots en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!