summaryrefslogtreecommitdiff
path: root/q_after_abcd.m
diff options
context:
space:
mode:
authorEugeniy Mikhailov <evgmik@gmail.com>2011-04-14 10:12:31 -0400
committerEugeniy Mikhailov <evgmik@gmail.com>2011-04-14 10:12:31 -0400
commitb4edab122e75928d7dcacf45fa927f878f0bf791 (patch)
tree1f4c1e450700f219632c92e5b135cb4b116acd0b /q_after_abcd.m
parenta46878a0d59eee4c98c9be4365bf4d3f517f2229 (diff)
downloadmode_match-b4edab122e75928d7dcacf45fa927f878f0bf791.tar.gz
mode_match-b4edab122e75928d7dcacf45fa927f878f0bf791.zip
endif, endfor, endfunction -> end (for matlab compatibility)
Ignore-this: ddb1f3a61e081f0f73eaf307c8173d8e darcs-hash:20110414141231-067c0-639aea74867aecbd2b047aa51213897a590729a1
Diffstat (limited to 'q_after_abcd.m')
-rw-r--r--q_after_abcd.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/q_after_abcd.m b/q_after_abcd.m
index fd1f905..7022f52 100644
--- a/q_after_abcd.m
+++ b/q_after_abcd.m
@@ -1,6 +1,6 @@
function qnew=q_after_abcd(q_old,abcd)
% calculates q parameter after propagating through element with given abcd matrix
qnew=(q_old*abcd(1,1)+abcd(1,2))/(q_old*abcd(2,1)+abcd(2,2));
-endfunction
+end