summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--compass_lin.m5
1 files changed, 3 insertions, 2 deletions
diff --git a/compass_lin.m b/compass_lin.m
index 21c2472..0ebd20c 100644
--- a/compass_lin.m
+++ b/compass_lin.m
@@ -131,8 +131,9 @@ fflush (stderr);
%kappa_p=cellfun( @susceptibility_steady_state_at_freq, problems_cell_array);
%kappa_p=parcellfun(2, @susceptibility_steady_state_at_freq, problems_cell_array);
%[xi_linear, xi_left, xi_right]=parcellfun(2, @susceptibility_steady_state_at_freq, problems_cell_array);
-total_relative_transmission_vs_phi=parcellfun(2, @total_relative_transmission, problems_cell_array);
-%total_relative_transmission_vs_phi=cellfun(@total_relative_transmission, problems_cell_array);
+% strangely parcell is slower than cellfun 20 seconds vs 29
+%total_relative_transmission_vs_phi=parcellfun(2, @total_relative_transmission, problems_cell_array);
+total_relative_transmission_vs_phi=cellfun(@total_relative_transmission, problems_cell_array);
%save 'xi_vs_detuning.mat' detuning_freq xi_linear xi_left xi_right ;
problem_cntr--;