Hi, how can I plot a confidence interval bound for the regresison line using lsline? The code I wrote is this:
clc, clear all, close allX(:,1) = (1:1:100);X(:,2) = rand(100,1);figure;hold onplot(X(:,1),X(:,2),'b*','MarkerSize',5);h = lsline;set(h,'color','g','LineWidth',3)%s = lsline + 0.95 * h;
title 'TRY';xlabel 'X'; ylabel 'Y'; hold off
Thank you
Best Answer