No BSD License  

Highlights from
Power Electronics

from Power Electronics by MUHAMMAD RIZWAN
Get the answers and plots for various formulaes of power electronics.

hwrll.m
  fprintf('Welcome From Worldhitter')
    %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
    fprintf('Provide The Following Data')
    Vm=input('\nEnter The Value of Peak Voltage(Volts) :')
    a=input('Enter The Value Of Phase Angle(Degrees) :')
    R=input('Enter The Value Of Resistence(Ohms): ')
    fprintf('Wait')
    l=menu('Choose One','Dc Voltage(Vdc)','Dc Current(Idc)')
    if(l == 1)
        fprintf('The Value Of Dc Voltage Is As Under')
        b=cos(3.14+a);
        c=1-b;
        pause(1)
        Vdc=Vm*c/6.28
        Data=1:64;Data=(Data'*Data)/64;
        msgbox('Thanx For Using My Programme ','','custom',Data,cool(64))
       pause(1)
       closereq   
       thanks4(1,1,1) %Function call
       %^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   elseif(l == 2)
         fprintf('The Value Of Dc Current Is As Under')
         b=cos(3.14+a);
         c=1-b;
         pause(1)
         Vdc=Vm*c/6.28;
         Idc=Vdc/pi
        
        Data=1:64;Data=(Data'*Data)/64;
        msgbox('Thanx For Using My Programme ','','custom',Data,cool(64))
       pause(1)
       closereq   
       thanks4(1,1,1) %Function call
   end

Contact us at files@mathworks.com