Profile Summary Generated 21-Sep-2010 14:30:40 using cpu time. Function Name Calls Total Time Self Time* Total Time Plot (dark band = self time) Anwendung 1 262.677 s 0.000 s chebcon.min 1 262.627 s 0.665 s domain.ode113 185 211.957 s 0.030 s ode113 185 177.284 s 30.664 s chebfun.subsref 70187 141.689 s 17.723 s chebfun.feval 76203 132.053 s 10.837 s @chebcon/private/costate 31 124.441 s 0.456 s chebcon.feval 124 100.546 s 0.327 s chebfun.feval>fevalcolumn 71151 85.839 s 26.585 s @chebcon/private/costate>@(t,p)ode(t,p) 6288 82.227 s 0.318 s @chebcon/...ate/costate>@(t,p)ode(t,p).' 6288 81.909 s 0.456 s...(t,p)[ode(t,p),idcost(t)+pstate(t,p)] 12576 81.453 s 1.449 s @chebcon/private/armijo 30 77.394 s 0.020 s fun.feval 71305 55.761 s 12.791 s...te>@(t,p)pstate(t,p)+p(j).*idstate(t) 12576 53.686 s 1.399 s chebcon.feval>@(t,x)c.state(x,u(t)) 22939 50.809 s 3.463 s chebfun.chebfun 2071 40.091 s 0.963 s bary 71923 39.486 s 23.598 s @chebfun/private/ctor_adapt 1454 38.414 s 1.201 s anon.feval 4154 37.501 s 12.762 s @domain/private/odesol 185 34.643 s 0.387 s @fun/private/growfun 1548 33.839 s 1.280 s fun.fun 2135 33.145 s 1.469 s @chebfun/private/auto 618 32.291 s 0.149 s @chebfun/private/getfun 618 32.142 s 0.506 s...rivate/costate>@(t,p)p(1).*idstate(t) 12576 26.625 s 1.340 s @chebfun/private/getfun>@(x)op(x) 1927 25.642 s 0.119 s @domain/...e/odesol>@(x)deval(sol,x,j).' 1482 24.243 s 0.159 s deval 1482 24.084 s 4.992 s linop.mtimes 2604 21.058 s 3.950 s
chebpts 76852 19.440 s 18.676 s funfun/private/ntrp113 12190 17.991 s 17.991 s...(x(2)+0.5).*exp(25*x(1)./(x(1)+2))].' 28947 17.604 s 1.498 s anon.subsref 3255 16.662 s 0.397 s...diff(f1,u)-diag(f1./f2.^2)*diff(f2,u) 186 14.975 s 0.040 s chebfun.get 85321 14.310 s 13.873 s chebfun.size 79937 13.992 s 13.992 s @chebfun/private/jacobian 3379 12.861 s 1.111 s chebfun.diff 3379 12.841 s 0.357 s chebcon.min>@(t,x)c.state(x,u(t)) 5729 12.801 s 0.724 s chebfun.times 1983 11.849 s 0.427 s...u)diag(f)*diff(g,u)+diag(g)*diff(f,u) 341 11.194 s 0.089 s chebfun.rdivide 558 10.618 s 0.089 s linop.plus 1054 10.311 s 3.553 s chebfun.rdivide>rdividecol 558 10.301 s 0.357 s...(feval(f,chebpts(n,domain(f))),0,n,n) 1891 9.874 s 0.288 s chebfun.times>timescol 1704 9.666 s 0.943 s linop.linop 4991 9.616 s 3.126 s chebfun.isempty 85829 9.566 s 9.566 s chebcon.diff 31 8.326 s 0.576 s @(x,u)x(:,1).^2+x(:,2).^2+0.1*u.^2 217 7.820 s 0.050 s anon.anon 9762 7.224 s 3.930 s chebfun.power 1116 7.095 s 0.179 s fun.subsref 98090 6.748 s 6.748 s @chebfun/private/comp 930 6.242 s 0.268 s chebfun.plus 3069 6.063 s 0.496 s chebfun.power>powercol 1116 6.053 s 0.208 s fun.simplify 3799 5.845 s 2.769 s @chebfun/private/comp>compcol 930 5.656 s 0.615 s fun.times 1704 5.418 s 0.625 s anon.feval>@(u)diff(f1,u)+diff(f2,u) 527 5.309 s 0.109 s linop.iszero 1519 5.041 s 0.218 s chebfun.subsasgn 432 4.962 s 0.397 s
linop.feval 1519 4.823 s 3.195 s oparray.mtimes>innersum 496 4.813 s 0.069 s chebfun.diag 1519 4.614 s 0.595 s chebfun.roots 558 4.595 s 0.179 s fun.roots 619 4.436 s 0.208 s chebfun.plus>pluscol 2511 4.337 s 0.883 s oparray.feval 155 4.327 s 0.040 s fun.compfun 930 4.237 s 0.129 s fun.roots>rootsunit 619 4.198 s 1.141 s anon.feval>@(u)diag(exp(f))*diff(f,u) 186 4.039 s 0.030 s domain.domain 20331 3.960 s 3.960 s @fun/private/growfun>ishappy 1309 3.930 s 0.347 s...al>@(u)f2*diag(f1.^(f2-1))*diff(f1,u) 279 3.900 s 0.050 s oparray.mtimes 2449 3.860 s 2.074 s chebfun.mtimes 3500 3.811 s 0.536 s @fun/...near>@(x)(x-a)/(b-a)-(b-x)/(b-a) 71305 3.612 s 3.612 s anon.feval>@(u)feval(a,u)+feval(b,u) 186 3.543 s 0.020 s chebfun.exp 372 3.483 s 0.318 s fun.prolong 4237 3.136 s 0.834 s domain.zeros 1271 3.126 s 0.298 s @varmat/private/op_scalar_expand 2635 3.096 s 1.439 s varmat.mtimes 2449 3.017 s 0.268 s linop.minus 186 2.848 s 0.486 s chebfun.horzcat 928 2.719 s 0.119 s chebfun.diag>@(u)times(f,u) 496 2.679 s 0.030 s..._expand>@(n)op(feval(a,n),feval(b,n)) 2046 2.650 s 0.198 s chebfun.mtimes>mtimescol 1735 2.580 s 0.466 s anon.feval>@(u)a*diff(f,u) 651 2.560 s 0.060 s chebpolyval 7971 2.521 s 2.223 s chebfun.domain 8457 2.461 s 0.814 s anon.feval>@(u)b*feval(op,u) 372 2.451 s 0.030 s chebfun.vertcat 928 2.322 s 0.437 s varmat.feval 6913 2.263 s 0.834 s
strmatch 14231 2.243 s 2.243 s @chebfun/private/jacobian>jacresetfun 403 2.223 s 0.139 s fun.get 9493 2.114 s 2.104 s chebfun.minus 465 2.114 s 0.050 s oparray.oparray 12865 2.054 s 2.054 s @chebfun/private/vectorcheck 618 1.955 s 0.228 s...f>@(x,u,p)h(x,u,p)+p(:,i).*state(:,i) 62 1.905 s 0.010 s linop.vertcat 3441 1.846 s 0.923 s chebfunpref 8853 1.786 s 1.756 s domain.subsref 8529 1.786 s 1.707 s fun.chebpoly 8800 1.697 s 1.697 s @linop/private/domaincheck 2790 1.667 s 0.466 s fun.diff 680 1.528 s 0.189 s fun.plus 2511 1.528 s 0.189 s @chebfun/private/jumpvals 1454 1.508 s 0.298 s @fun/private/linear 2754 1.360 s 0.615 s fun.minus 2511 1.240 s 0.566 s chebfun.restrict 432 1.141 s 0.040 s chebfun.uminus 558 1.121 s 0.030 s domain.eq 3997 1.111 s 0.546 s chebfun.restrict>restrictcol 432 1.102 s 0.258 s chebcon.diff>@(x,u,p)c.cost(x,u) 31 1.072 s 0.000 s @chebfun/private/newidnum 8395 1.052 s 1.052 s deval>extract_idata 12190 1.032 s 1.032 s chebfun.repmat 432 1.032 s 0.089 s domain.eye 403 0.992 s 0.069 s varmat.varmat 6107 0.943 s 0.943 s @chebcon/...ate/costate>@(t)dstate(-t,1) 286 0.933 s 0.079 s cheboppref 4030 0.913 s 0.913 s chebfun.norm 61 0.893 s 0.010 s chebop.chebop 4991 0.863 s 0.863 s funfun/private/odearguments 185 0.853 s 0.159 s fun.isempty 7625 0.844 s 0.844 s
...d>create@(n)op(feval(a,n),feval(b,n)) 1705 0.844 s 0.844 s linop.size 6076 0.834 s 0.834 s chebfun.minandmax 61 0.834 s 0.010 s domain.isempty 10694 0.824 s 0.824 s chebfun.minandmax>mmval 61 0.814 s 0.010 s fun.minandmax 61 0.794 s 0.000 s linop.uminus 186 0.784 s 0.069 s linop.isempty 6479 0.774 s 0.526 s @chebcon/...ate/costate>@(t)dstate(-t,j) 281 0.764 s 0.000 s chebfun.transpose 6500 0.734 s 0.734 s fun.subsasgn 9448 0.734 s 0.734 s spdiags 1891 0.724 s 0.724 s...op_scalar_expand>@(n)op(a,feval(b,n)) 1116 0.714 s 0.119 s chebfun.ctranspose 216 0.705 s 0.010 s @linop/private/newidnum 6107 0.705 s 0.705 s chebfun.conj 216 0.665 s 0.109 s @chebcon/private/costate>@(t)ip(-t,i) 248 0.665 s 0.010 s @chebcon/private/costate>@(t)dcost(-t) 248 0.645 s 0.010 s anon.feval>@(u)innersum(u,i,j) 496 0.645 s 0.010 s @fun/private/extrapolate 2443 0.635 s 0.635 s fun.set 2443 0.576 s 0.576 s @chebfun/private/overlap 3130 0.566 s 0.566 s oparray.uminus 186 0.526 s 0.357 s fun.mtimes 2083 0.496 s 0.337 s chebfun.sum 154 0.466 s 0.069 s anon.feval>@(u)-feval(a,u) 62 0.447 s -0.000 s oparray.plus 186 0.407 s 0.298 s chebfun.isreal 682 0.387 s 0.069 s...(feval(f,chebpts(n,domain(f))),0,n,n) 1519 0.387 s 0.387 s...(u) B*feval(op,u)',{'B','op'},{B,op}) 930 0.377 s 0.069 s varmat.plus 186 0.377 s 0.030 s odeget 2035 0.377 s 0.179 s oparray.isempty 6572 0.357 s 0.357 s
@fun/...e/linear>@(y)b*(y+1)/2+a*(1-y)/2 6348 0.347 s 0.347 s @chebfun/private/getfun>create@(x)op(x) 618 0.347 s 0.347 s @fun/...reate@(x)(x-a)/(b-a)-(b-x)/(b-a) 2754 0.327 s 0.327 s anon.feval>loadvariables 4154 0.327 s 0.327 s...lar_expand>create@(n)op(a,feval(b,n)) 930 0.318 s 0.318 s repmat 1463 0.308 s 0.308 s chebfun.sum>sumcol 154 0.308 s 0.060 s flipud 8748 0.298 s 0.298 s chebfun.diag>create@(u)times(f,u) 1519 0.298 s 0.298 s @fun/...ar>create@(y)b*(y+1)/2+a*(1-y)/2 2754 0.268 s 0.268 s linop.domain 5425 0.268 s 0.268 s varmat.isempty 6479 0.248 s 0.248 s title 6 0.248 s 0.248 s @linop/private/copy 1116 0.238 s 0.119 s fun.isequal 1879 0.228 s 0.169 s legend 1 0.228 s 0.010 s @chebcon/private/costate>@(t,p)[] 6288 0.228 s 0.228 s setdiff 568 0.218 s 0.169 s @chebfun/private/unwrap_arg 1454 0.218 s 0.218 s oparray.vertcat 62 0.218 s 0.198 s legend>make_legend 1 0.218 s -0.000 s...ate/odesol>create@(x)deval(sol,x,j).' 370 0.218 s 0.218 s odeget>getknownfield 2035 0.198 s 0.198 s odesyn>odesyn.subsref 961 0.189 s 0.189 s chebfun.plot 2 0.179 s 0.020 s fun.sum 154 0.179 s 0.079 s fun.diff>newcoeffs_der 680 0.179 s 0.179 s scribe.legend.legend 1 0.179 s 0.010 s @fun/private/samemap 3615 0.159 s 0.159 s varmat.uminus 186 0.159 s 0.060 s funfun/private/odefinalize 185 0.159 s 0.139 s @fun/...ate/linear>create@(y)(b-a)/2+0*y 2754 0.149 s 0.149 s @chebfun/private/plotdata 2 0.139 s 0.050 s
domain.diff 31 0.129 s 0.020 s scribe.legend.init 1 0.119 s -0.000 s varmat.vertcat 62 0.109 s 0.109 s...(u) B*feval(op,u)',{'B','op'},{B,op}) 930 0.109 s 0.109 s varmat.uminus>@(n)-feval(a,n) 279 0.109 s 0.040 s linop.horzcat 403 0.109 s 0.060 s fun.sum>sum_unit_interval 154 0.099 s 0.050 s fun.uminus 2511 0.099 s 0.099 s domain.double 898 0.089 s 0.089 s...(a)anon('@(u) -feval(a,u)',{'a'},{a}) 186 0.089 s 0.020 s varmat.uminus>create@(n)-feval(a,n) 186 0.089 s 0.089 s domain.zeros>create@(u)0*u 1271 0.089 s 0.089 s chebfun.exp>@(x)exp(x) 1680 0.079 s 0.079 s domain.zeros>create@(n)sparse(n,n) 1271 0.079 s 0.079 s funfun/private/odemass 185 0.079 s 0.060 s scribe.legend.methods 13 0.079 s 0.010 s legendcolorbarlayout>dolayout 3 0.079 s 0.010 s double.superiorfloat 1667 0.069 s 0.069 s...val(a,u)+feval(b,u)',{'a','b'},{a,b}) 186 0.069 s 0.010 s fun.conj 925 0.069 s 0.069 s ismember 6 0.060 s 0.050 s anon.feval>@(u)[] 868 0.060 s 0.060 s domain.zeros>@(n)sparse(n,n) 868 0.060 s 0.060 s clf 4 0.060 s 0.040 s newplot 12 0.060 s 0.010 s...be.legend.methods>create_legend_items 1 0.060 s 0.020 s...te@(x,u,p)h(x,u,p)+p(:,i).*state(:,i) 62 0.060 s 0.060 s legendcolorbarlayout>doinoutlayout 3 0.060 s 0.020 s legendcolorbarlayout 3 0.060 s -0.000 s @fun/private/linear>@(y)(b-a)/2+0*y 834 0.050 s 0.050 s graphics/private/clo 6 0.050 s 0.010 s xlabel 6 0.050 s 0.030 s funfun/private/odeevents 185 0.050 s 0.030 s
num2str 122 0.050 s 0.020 s newplot>observeaxesnextplot 12 0.050 s 0.010 s oparray.size 248 0.040 s 0.040 s fun.restrict 432 0.040 s 0.040 s domain.eye>create@(u)u 403 0.040 s 0.040 s cla 2 0.040 s 0.000 s...rivate/costate>create@(t)dstate(-t,1) 62 0.040 s 0.040 s...rivate/costate>create@(t)dstate(-t,j) 62 0.040 s 0.040 s graph2dhelper 16 0.040 s 0.000 s cell.ismember 2 0.030 s 0.010 s splitting 1 0.030 s 0.000 s fun.maps 31 0.030 s 0.010 s odeset 1 0.030 s 0.030 s scribe.legend.methods>set_contextmenu 1 0.030 s 0.020 s...(a)anon('@(u) -feval(a,u)',{'a'},{a}) 186 0.030 s 0.030 s linop.vertcat>@(a)a.blocksize(1) 124 0.030 s 0.030 s legendcolorbarlayout>dopixelboundscb 2 0.030 s 0.000 s...rivate/costate>create@(t,p)ode(t,p).' 31 0.030 s 0.030 s...con.feval>create@(t,x)c.state(x,u(t)) 123 0.030 s 0.030 s num2str>handlenumericprecision 86 0.030 s 0.000 s num2str>convertusingrecycledsprintf 86 0.030 s 0.030 s axescheck 15 0.030 s 0.030 s scribe/private/get_legendable_children 1 0.020 s 0.020 s domain.eye>@(u)u 403 0.020 s 0.020 s @chebfun/private/hscale 558 0.020 s 0.020 s unique 4 0.020 s 0.020 s deal 185 0.020 s 0.020 s.../costate>create@(t,p)p(1).*idstate(t) 62 0.020 s 0.020 s...(t,p)[ode(t,p),idcost(t)+pstate(t,p)] 62 0.020 s 0.020 s legendcolorbarlayout>localgettitleheight 6 0.020 s 0.020 s hggetbehavior>localget 5 0.020 s 0.000 s hgbehaviorfactory>localcreate 5 0.020 s 0.000 s hgbehaviorfactory>localgetbehaviorinfo 5 0.020 s 0.020 s
hgbehaviorfactory 5 0.020 s 0.000 s hggetbehavior 5 0.020 s 0.000 s str2num 1 0.010 s 0.010 s chebcon.isempty 125 0.010 s 0.000 s @chebfun/private/plotdata>jumpvals 3 0.010 s 0.010 s oparray.vertcat>@(a)isempty(a) 124 0.010 s 0.010 s chebfun.exp>create@(x)exp(x) 372 0.010 s 0.010 s chebfun.rdivide>@(x)rdivide(f1,x) 744 0.010 s 0.010 s chebfun.rdivide>create@(x)rdivide(f1,x) 186 0.010 s 0.010 s...val(a,u)+feval(b,u)',{'a','b'},{a,b}) 186 0.010 s 0.010 s linop.vertcat>create@(a)a.blocksize(2) 62 0.010 s 0.010 s linop.vertcat>@(a)a.blocksize(2) 124 0.010 s 0.010 s linop.vertcat>create@(a)a.varmat 62 0.010 s 0.010 s linop.vertcat>@(a)a.oparray 124 0.010 s 0.010 s hold 3 0.010 s 0.000 s scribe/private/updatelegendmenutoolbar 1 0.010 s 0.000 s findall 12 0.010 s 0.010 s scribe.legend.methods>getsizeinfo 4 0.010 s 0.010 s...nd.methods>create_plotchild_listeners 1 0.010 s 0.010 s refresh 4 0.010 s 0.010 s odesyn>odesyn.odesyn 62 0.010 s 0.010 s chebcon.chebcon>@(x)0 186 0.010 s 0.010 s @chebcon/.../costate>create@(t)dcost(-t) 62 0.010 s 0.010 s.../private/costate>create@(t,p)ode(t,p) 31 0.010 s 0.010 s chebcon.diff>create@(x,u,p)c.cost(x,u) 31 0.010 s 0.010 s legend>process_inputs 1 0.010 s 0.010 s legend>check_legend_strings 1 0.010 s 0.010 s scribe/private/createscribeuimenuentry 9 0.010 s 0.000 s...uimenuentry>localcreatelinewidthentry 1 0.010 s 0.000 s...scribeuimenuentry>localcreatenumentry 1 0.010 s 0.010 s legendcolorbarlayout>createlisteners 1 0.010 s 0.010 s legendcolorbarlayout>localgetylabelwidth 6 0.010 s 0.000 s is2d 18 0.010 s 0.010 s
legendcolorbarlayout>getpixelbounds 3 0.010 s 0.000 s legendcolorbarlayout>layoutlegend 3 0.010 s 0.010 s...ndcolorbarlayout>location_to_xy_index 6 0.010 s 0.010 s...(x(2)+0.5).*exp(25*x(1)./(x(1)+2))].' 1 0 s 0.000 s create@(x,u)x(:,1).^2+x(:,2).^2+0.1*u.^2 1 0 s 0.000 s chebcon.chebcon 1 0 s 0.000 s chebcon.set 3 0 s 0.000 s chebcon.subsref 1 0 s 0.000 s chebcon.get 1 0 s 0.000 s iscellstr 2 0 s 0.000 s cellstr 2 0 s 0.000 s ismembc (MEX-function) 2 0 s 0.000 s str2num>protected_conversion 1 0 s 0.000 s domain.end 2 0 s 0.000 s linop.vertcat>@(a)a.varmat 124 0 s 0.000 s linop.vertcat>create@(a)a.oparray 62 0 s 0.000 s oparray.vertcat>create@(a)isempty(a) 62 0 s 0.000 s linop.vertcat>create@(a)a.blocksize(1) 62 0 s 0.000 s figuretoolbarcreatefcn 3 0 s 0.000 s usejava 3 0 s 0.000 s opaque.char 3 0 s 0.000 s initprintexporttemplate 3 0 s 0.000 s ishold 2 0 s 0.000 s gcf 31 0 s 0.000 s graphics/private/clo>find_kids 6 0 s 0.000 s uigettool 2 0 s 0.000 s scribe.legend.methods>strsize 8 0 s 0.000 s legendcolorbarlayout>localvalidatelists 3 0 s 0.000 s legendcolorbarlayout>validatetextobjects 3 0 s 0.000 s scribe.legend.init>computepos 5 0 s 0.000 s scribe.legend.init>changedpos 5 0 s 0.000 s scribe.legend.methods>update_userdata 1 0 s 0.000 s opaque.double 79 0 s 0.000 s
chebcon.min>create@(t,x)c.state(x,u(t)) 31 0 s 0.000 s...diff>create@(n)diffmat(n)*2/length(d) 31 0 s 0.000 s domain.diff>create@(u)diff(u) 31 0 s 0.000 s @chebcon/private/costate>create@(t,p)[] 31 0 s 0.000 s...ate@(t,p)pstate(t,p)+p(j).*idstate(t) 62 0 s 0.000 s @chebcon/...e/costate>create@(t)ip(-t,i) 62 0 s 0.000 s int2str 36 0 s 0.000 s log10 86 0 s 0.000 s linspace 2 0 s 0.000 s newplot>observefigurenextplot 12 0 s 0.000 s legend>find_legend 1 0 s 0.000 s legend>get_location_from_numeric 1 0 s 0.000 s...ndcolorbarlayout>localgetxlabelheight 3 0 s 0.000 s isprop 17 0 s 0.000 s scribe/private/expandlegendchildren 1 0 s 0.000 s scribe/private/islegendable 3 0 s 0.000 s scribe/private/islegendable>isallnan 3 0 s 0.000 s hasbehavior 6 0 s 0.000 s...ibeuimenuentry>localcreateactionentry 2 0 s 0.000 s...ribeuimenuentry>localcreatecolorentry 2 0 s 0.000 s...cribeuimenuentry>localcreatefontentry 1 0 s 0.000 s...entry>localcreatetextinterpreterentry 1 0 s 0.000 s...cribeuimenuentry>localcreateenumentry 3 0 s 0.000 s allchild 6 0 s 0.000 s scribe.legend.schema>edgecolorsetter 1 0 s 0.000 s hggetbehavior>localpeek 5 0 s 0.000 s...loteditbehavior.schema>doenableaction 1 0 s 0.000 s graphics.panbehavior.dosupport 1 0 s 0.000 s graphics.zoombehavior.dosupport 1 0 s 0.000 s graphics.rotate3dbehavior.dosupport 1 0 s 0.000 s graphics.datacursorbehavior.dosupport 1 0 s 0.000 s graphics.ploteditbehavior.dosupport 1 0 s 0.000 s scribe.legend.methods>getfunhan 4 0 s 0.000 s
scribe.legend.methods>getsize 4 0 s 0.000 s scribe.legend.methods>localgettokenitem 4 0 s 0.000 s scribe.legend.methods>getnpos 1 0 s 0.000 s legendcolorbarlayout>getlisteners 5 0 s 0.000 s legendcolorbarlayout>initproperties 1 0 s 0.000 s...layout>create@(obj,evd)(dolayout(ax)) 1 0 s 0.000 s fliplr 1 0 s 0.000 s legendcolorbarlayout>topixels 2 0 s 0.000 s legendcolorbarlayout>topoints 6 0 s 0.000 s getpixelposition 3 0 s 0.000 s scribe.legend.init>setwidthheight 1 0 s 0.000 s Self time is the time spent in a function excluding the time spent in its child functions. Self time also includes overhead resulting from the process of profiling.