请教matlab如何编程问题
<P>matlab运行结果如下,y(1)y(2)y(3)y(4)y(5)y(6)y(7)y(8)y(9)y(10)y(11)y(12)y(13)y(14)是随时间的变量,如何可以取出其某一时间的值。<BR><BR>Results by using ode23s():<BR> xy(1)y(2)y(3)y(4)y(5)y(6)y(7)y(8)y(9)y(10)y(11)y(12)y(13)y(14)<BR>Columns 1 through 4 </P><P> 0 5.01000000000000 7.51500000000000 0<BR> 0.00200000000000 4.27021707503635 7.08881525739693 0.16325564936209<BR> 0.00400000000000 3.66023215833424 6.70378139646879 0.30452193559895<BR> 0.00600000000000 3.14936566749412 6.35557951200691 0.42755169781159<BR> 0.00800000000000 2.71736762335700 6.03904981957202 0.53517802386012<BR> 0.01000000000000 2.34962953582849 5.74982843378805 0.62962046337051<BR> 0.01200000000000 2.03485248976813 5.48421347471798 0.71271384054062<BR> 0.01400000000000 1.76409978567009 5.23905540328875 0.78600439109829<BR> 0.01600000000000 1.53029837009150 5.01169979239319 0.85079584792207<BR> 0.01800000000000 1.32813019786936 4.80005905530152 0.90811875602982<BR> 0.02000000000000 1.15269883371965 4.60212206100073 0.95896931114795<BR> 0.02200000000000 0.99988091912336 4.41609879063855 1.00425133924671<BR> 0.02400000000000 0.86705764915883 4.24081703727550 1.04456609976432<BR> 0.02600000000000 0.75129082312624 4.07492135614709 1.08061424457308<BR> 0.02800000000000 0.65014982050357 3.91723985770725 1.11302142265232<BR> 0.03000000000000 0.56211539333368 3.76700940306379 1.14219754474432</P>
<P>Columns 5 through 8 </P>
<P> 0 0 0 0<BR> 0.43294354976587 0.32835674442744 0.00000003303284 0.38623181691198<BR> 0.82867896362337 0.64723994310803 0.00000003998221 0.64598413228832<BR> 1.18909714999146 0.93229248526365 0.00000004354955 0.81853379351178<BR> 1.51894815455458 1.18572308211973 0.00000004596114 0.92785208937461<BR> 1.82248846606059 1.41180049262265 0.00000004781537 0.99014783090278<BR> 2.10339059196385 1.61455733065230 0.00000004936354 1.01724949807783<BR> 2.36481135389635 1.79747978765316 0.00000005073155 1.01800059136532<BR> 2.60943707597499 1.96346318343702 0.00000005199016 0.99903540819859<BR> 2.83939488123197 2.11473879095313 0.00000005318238 0.96513234574808<BR> 3.05674854450698 2.25340207066683 0.00000005434119 0.92049545364512<BR> 3.26336381197958 2.38124429603353 0.00000005549138 0.86848534906443<BR> 3.46047534753036 2.49940813428985 0.00000005664864 0.81117591393107<BR> 3.64952118781871 2.60918177095850 0.00000005783035 0.75081626879136<BR> 3.83176900232235 2.71162990547821 0.00000005905218 0.68918962287562<BR> 4.00806304062868 2.80742029307203 0.00000006032558 0.62739670095539</P>
<P>Columns 9 through 12 </P>
<P> 0 0 0 0<BR> 0.19722287811156 0.05850483810808 0.00000003793283 0.00000009532610<BR> 0.43172613040705 0.10808281362821 0.00000005020440 0.00000008733105<BR> 0.66247776564677 0.15249829821090 0.00000005536540 0.00000008009649<BR> 0.88170938661633 0.19284719584715 0.00000005605447 0.00000007362520<BR> 1.08713551302580 0.22971924956444 0.00000005402406 0.00000006788566<BR> 1.27813720073263 0.26353479436065 0.00000005043636 0.00000006282884<BR> 1.45481067975979 0.29462721798206 0.00000004603691 0.00000005839477<BR> 1.61755929010441 0.32327296020242 0.00000004134185 0.00000005456496<BR> 1.76684569597475 0.34969264053960 0.00000003663063 0.00000005130540<BR> 1.90323141823944 0.37410144860357 0.00000003207509 0.00000004852210<BR> 2.02728176034835 0.39669811449189 0.00000002782916 0.00000004621203<BR> 2.13937871240114 0.41761598667926 0.00000002395981 0.00000004440398<BR> 2.23998952371039 0.43700964522250 0.00000002047447 0.00000004301593<BR> 2.32952045401849 0.45501305759988 0.00000001738967 0.00000004205122<BR> 2.40821082586960 0.47171003300412 0.00000001470138 0.00000004152735</P>
<P>Columns 13 through 15 </P>
<P> 0 0 0<BR> 0.00000202776258 0.00000258487416 0.09106454590680<BR> 0.00000133015869 0.00000257832310 0.14651437417916<BR> 0.00000103939248 0.00000252646248 0.19744781991812<BR> 0.00000088965938 0.00000247245203 0.24722563199657<BR> 0.00000080234881 0.00000242677383 0.29605089065641<BR> 0.00000074670454 0.00000239204380 0.34362188536681<BR> 0.00000071040023 0.00000236819507 0.38959494364060<BR> 0.00000068702701 0.00000235504157 0.43369708242152<BR> 0.00000067373486 0.00000235183019 0.47574515907954<BR> 0.00000066786330 0.00000235755037 0.51560220956960<BR> 0.00000066772529 0.00000237191462 0.55319123897972<BR> 0.00000067280691 0.00000239465808 0.58847933922430<BR> 0.00000068200855 0.00000242469400 0.62145117668233<BR> 0.00000069484811 0.00000246165663 0.65211818186895<BR> 0.00000071130774 0.00000250561081 0.68049460544385</P>
<P>Cbanlance,Hbanlance,Obanlance:<BR>-7.31325440905580</P>
<P> -16.73405981089320</P>
<P>-5.82759825483041</P>
<P>>> </P> 从形式看,输出结果是时间间隔为0.002,<BR>如果要取出其某一时间的值:(1)作插值;(2)将所要时间点放在间隔点上;(3)依算法自己编程,输出自己想的量。 <P>是这样的吗?<BR>不像啊</P>
页:
[1]