Fitting multiple datasets simultaneously
    4 Ansichten (letzte 30 Tage)
  
       Ältere Kommentare anzeigen
    
    Lizan
      
 am 10 Jun. 2014
  
    
    
    
    
    Kommentiert: Lizan
      
 am 10 Jun. 2014
            Hi,
I was wondering if there is a way do a linear fit on 2 datasets simultaneously? It seems like you can only do a linear fit on one dataset with the figure fitting function?
0 Kommentare
Akzeptierte Antwort
  Image Analyst
      
      
 am 10 Jun. 2014
        I don't know what that function is. But why not just do it in code with the polyfit() function? Just stitch together the multiple x and y before passing in
coefficients = polyfit(multipleXs, multipleYs, 1);
Weitere Antworten (0)
Siehe auch
Kategorien
				Mehr zu Linear and Nonlinear Regression finden Sie in Help Center und File Exchange
			
	Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!

