draw linear regression lines and finding slope
Show older comments
I have a very big data set(about 20,000,000 points)and matlab get crash when I want to draw linear regression line after plotting.How can I plot plyfit line and saving the result of slope?
ee= find (RVI>=0.8 & RVI <1.1);
x5 = Sh_new(ee);
y5 = TBh_new(ee);
figure; hold on;
scatter(x5,y5,'MarkerFaceColor','c','MarkerEdgeColor','c');
ylim([-30 30])
xlabel('Sigma _ hh - mean(Sigma_ hh) [db] ','Fontsize',20);
ylabel(' TB_h - mean(TB_h)[K]','FontSize',20);
Accepted Answer
More Answers (0)
Categories
Find more on Smoothing in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!