1 2 3 4 5 6 7 8
clc; PW=0.000125; T=0.000325; dutycycle=(PW/T)*100; disp('%',dutycycle,"dutycycle=");//The provided in the textbook is wrong