?? hwrll.m
字號(hào):
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
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -