1 2 3 4 5
clc sfl=1746 //speed at full load in rev/min snl=1799.5 //speed at no load in rev/min mprintf("Voltage Regulation=%f",(snl-sfl)/sfl) //the ans may vary due to round of error