P13_18 - F plot(T, V, 'o', X1, Freg) p alpha =...

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
function P13_18 f T = [26.67 93.33 148.89 315.56]; T V = [1.35 0.085 0.012 0.00075]; V logV = log10(V); l logT = log10(T); l N = [ones(4,1) logT']; N r = [logV']; r coefs = N\r; c X1 = (25:1:350)'; X Flin = coefs(1,1) + coefs(2,1).*X1; F Freg = 10.^coefs(1,1).*X1.^coefs(2,1);
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: F plot(T, V, 'o', X1, Freg) p alpha = 10^coefs(1,1) a beta = coefs(2,1) b Sr = sum((logV - (coefs(1,1) + coefs(2,1).*logT)).^2) S St = sum((log10(V) - mean(logV)).^2) S r2 = (St-Sr)/St...
View Full Document

This note was uploaded on 09/21/2011 for the course EGM 3344 taught by Professor Raphaelhaftka during the Spring '09 term at University of Florida.

Ask a homework question - tutors are online