This is a static copy of a profile report

Home

Koch_Kurve (Calls: 1, Time: 11.503 s)
Generated 18-May-2021 16:05:23 using performance time.
function in file /home/wolf/MATLAB Add-Ons/Toolboxes/FraktaleTB/Koch_Kurve.m
Copy to new window for comparing multiple runs

Parents (calling functions)
No parent
Lines where the most time was spent

Line NumberCodeCallsTotal Time% TimeTime Plot
19
koch(k)
110.707 s93.1%
13
subplot(4,1,kl+1)
40.510 s4.4%
14
koch(kl);
40.085 s0.7%
15
title(['k = ',num2str(kl)])
40.083 s0.7%
18
figure
10.051 s0.4%
All other lines  0.068 s0.6%
Totals  11.503 s100% 
Children (called functions)

Function NameFunction TypeCallsTotal Time% TimeTime Plot
Koch_Kurve>kochsubfunction510.791 s93.8%
subplotfunction40.492 s4.3%
titlefunction50.108 s0.9%
axisfunction10.023 s0.2%
num2strfunction50.004 s0.0%
Self time (built-ins, overhead, etc.)  0.085 s0.7%
Totals  11.503 s100% 
Code Analyzer results
No Code Analyzer messages.
Coverage results
Show coverage for parent directory
Total lines in function21
Non-code lines (comments, blank lines)8
Code lines (lines that can run)13
Code lines that did run11
Code lines that did not run2
Coverage (did run/can run)84.62 %
Function listing
time 
Calls 
 line
   1 
function Koch_Kurve(k)
   2 
% Plotten einer Koch-Kurve
   3 
% Aufruf >> Koch_Kurve(k)
   4 
% k legt die Zahl der Iterationen fest
   5 
% k >= 0; Empfehlung < 13
   6 

< 0.001 
      1 
   7
if nargin == 0 
   8 
    disp('kein Eingabe -> Defaultwert k=3')
   9 
    k=3;
< 0.001 
      1 
  10
end 
  11 

< 0.001 
      1 
  12
for kl=0:3 
  0.510 
      4 
  13
    subplot(4,1,kl+1) 
  0.085 
      4 
  14
    koch(kl); 
  0.083 
      4 
  15
    title(['k = ',num2str(kl)]) 
< 0.001 
      4 
  16
end 
  17 

  0.051 
      1 
  18
figure 
 10.707 
      1 
  19
koch(k) 
  0.034 
      1 
  20
title(['k = ',num2str(k)]) 
  0.034 
      1 
  21
axis equal 

Other subfunctions in this file are not included in this listing.