diff options
author | Eugeniy E. Mikhailov <evgmik@gmail.com> | 2020-09-21 15:55:27 -0400 |
---|---|---|
committer | Eugeniy E. Mikhailov <evgmik@gmail.com> | 2020-09-21 16:33:21 -0400 |
commit | e95444b28f79d3913160aa5b496e84c8075f76e8 (patch) | |
tree | e2da18f6d7f36ce78670df3dcbf0986b49c993f7 | |
parent | b3520ce3e7e40f6b6b7f7e94abbf80ced8ee235f (diff) | |
download | multi_mode_eit-e95444b28f79d3913160aa5b496e84c8075f76e8.tar.gz multi_mode_eit-e95444b28f79d3913160aa5b496e84c8075f76e8.zip |
converted from parcellfun to cellfun
-rw-r--r-- | compass_circ.m | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/compass_circ.m b/compass_circ.m index 4673c6a..077821c 100644 --- a/compass_circ.m +++ b/compass_circ.m @@ -132,8 +132,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--; |