diff options
author | Eugeniy E. Mikhailov <evgmik@gmail.com> | 2020-09-21 16:43:24 -0400 |
---|---|---|
committer | Eugeniy E. Mikhailov <evgmik@gmail.com> | 2020-09-21 16:43:24 -0400 |
commit | 72c37f153abda3d36579bbfb3e9b726395e07095 (patch) | |
tree | 19dad2470820b46541ff023b7d8c9e1b1d1c59ca /compass_lin.m | |
parent | e95444b28f79d3913160aa5b496e84c8075f76e8 (diff) | |
download | multi_mode_eit-72c37f153abda3d36579bbfb3e9b726395e07095.tar.gz multi_mode_eit-72c37f153abda3d36579bbfb3e9b726395e07095.zip |
switched away from parcellfun to cellfun
Diffstat (limited to 'compass_lin.m')
-rw-r--r-- | compass_lin.m | 5 |
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--; |