This preview shows page 1. Sign up to view the full content.
Unformatted text preview: j=j+m; end fee=0.15*j+60; elseif plan==3 j=phonerecord(in1).call(1).duration; for i=2:length(phonerecord(in1).call); m=phonerecord(in1).call(i).duration; j=j+m; if j<=180 k=0.3*j; else fee=.3*180+0.22*(j-180); end end end...
View Full Document
This note was uploaded on 11/16/2009 for the course ENGIN 7 taught by Professor Horowitz during the Spring '08 term at University of California, Berkeley.
- Spring '08