-
-
...= [ 1 1 1.06 0 0 0 0 0;2 0 1 0 0.5 0.2 0 0;3 0 1 0 0.4 0.3 0 0;4 0 1 0 0.3 0.1 0 0;]%linedata = [startbus endbus r x shunt-y]linedata = [1 2 2 8.0 0;1 3 1 4.0 0;2 3 0.666 2.664 0;2 4 1 4.0 0;3 4 2 8.0 0;] n1 =linedata(:,1);%linedata of startbus nr ...
-
-
.../更新速率是100Hz
self.motionManager.deviceMotionUpdateInterval = 0.1;
//开始更新采集数据
//需要时采集数据
//[motionManager startDeviceMotionUpdates];
//实时获取数据
[self.motionManager startDeviceMotionUpdatesToQueue:[NSOperationQueue mainQueue...
-
-
...1,bonus2,bonus4,bonus6,bonus10,bonus;scanf(“%ld“,&i);bonus1=100000*0.1;bonus2=bonus1+100000*0.75;bonus4=bonus2+200000*0.5;bonus6=bonus4+200000*0.3;bonus10=bonus6+400000*0.15; if(i〈=100000) bonus=i*0.1; else if(i〈=200000) bonus=bonus1+(i-100000)*0.075; el...
-
-
...the admittance value between 2-4:0.4Enter the admittance value between 2-5:0.1Enter the admittance value between 2-6:0.4Enter the admittance value between 3-4:0.8Enter the admittance value between 3-5:3.2Enter the admittance value between 3-6:1Enter the admittance value between 4-5:1Enter the admitt...