Fall 2016
Daniel Burleson
ENGI 1331
%% MA_7 clc clear all close all xlabel('Volage(V) [V]','Fontsize',12) ylabel('Frequency (f) [atm]','Fontsize',12) % axis([0,15,0,10000]); xlim([0 15]); ylim([0 10000]); set(gca,'xtick',0:1:15) set(gca,'ytick',0:1000:10000) grid hold on % Line 1 xV = [0 3]; yV = [7500 7500]; fit = polyfit(xV,yV,1); m1 = fit(1); b1 = fit(2); y1 = m1*(xV) + b1; plot(xV,y1,'color','m','Linewidth',2) % Line 2 xV = [3 6]