Clear All

You might also like

Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 1

clear all close all clc v1=input('ingrese variable independiente en fila:'); v2=input('ingrese variable dependiente en columna:'); n=input('ingrese numero

de datos'); a=sum(v1); b=sum(v2); f=v1.^2; c=sum(f); g=v1*v2; e=a^2; m=((n*g)-(a*b))/((n*c)-e)

You might also like