From de6f9753f760ea5e83cd62bf98fbc65996c81a45 Mon Sep 17 00:00:00 2001 From: Eugeniy Mikhailov Date: Tue, 12 Apr 2011 17:29:55 -0400 Subject: list to cell array Ignore-this: 1b50f86172f4e2ae9606bff8ef303b8f darcs-hash:20110412212955-067c0-6b0d2ae69a960afe8cf7714f1218d26d7b2b87be --- propagation.m | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/propagation.m b/propagation.m index 4bab16d..60e94fe 100644 --- a/propagation.m +++ b/propagation.m @@ -19,7 +19,7 @@ source("answ.txt") q0=waste_r2q(w0,r0,lambda); -optics=list(lns1,lns2,lns3); +optics={lns1,lns2,lns3}; optics_forward=optics; x=0:.001:Ltot; @@ -40,7 +40,7 @@ q1b=waste_r2q(wf,rf,lambda); lns1.x=Ltot-lns1.x; lns2.x=Ltot-lns2.x; lns3.x=Ltot-lns3.x; -optics=list(lns3,lns2,lns1); +optics={lns3,lns2,lns1}; q2b=prop(x,q1b,optics); printf("=================================\n") wb=q2waste(q2b, lambda); -- cgit v1.2.3