From b1480bba4352d00d66ecd0c3245ec141a278bdc1 Mon Sep 17 00:00:00 2001 From: Eugeniy Mikhailov Date: Tue, 22 Nov 2011 10:18:38 -0500 Subject: saving to file --- squeezing_filter/pp_tasks.m | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/squeezing_filter/pp_tasks.m b/squeezing_filter/pp_tasks.m index 45cc0dd..6e5c692 100644 --- a/squeezing_filter/pp_tasks.m +++ b/squeezing_filter/pp_tasks.m @@ -33,6 +33,12 @@ Ep_out.y= 1i*(Ep_out.left - Ep_out.right)/sqrt(2); +B_str=num2str(B_field(1),"%g"); +ofname_sfx=strcat('Bfield=',B_str); +ofname=strcat('pp_results/detuning_dependence_for_',B_str,'.mat'); +save(ofname, 'Ep_out', 'B_field', 'detunings', 'Ep', 'Ed', 'xi_left', 'xi_right', 'xi_x', 'xi_y'); + + figure(7); plot(detunings, abs(Ep_out.x).^2 ); legend('x'); -- cgit v1.2.3