how to do a linear fitting to 3D plot?

I made a plot of 3 vectors v1,v2,v3 by the function plot3(v1,v2,v2,'bo'), and i want to do a linear fitting to plot. how do i make it? i want to do it threw the script, and not by using the cftool. thank you

Risposte (0)

Richiesto:

niv
il 28 Set 2014

Community Treasure Hunt

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

Start Hunting!

Translated by