diff options
author | dburgess <dburgess@19bc5d8c-e614-43d4-8b26-e1612bc8e597> | 2011-10-12 07:44:40 +0000 |
---|---|---|
committer | dburgess <dburgess@19bc5d8c-e614-43d4-8b26-e1612bc8e597> | 2011-10-12 07:44:40 +0000 |
commit | b3a0ca42db0bd08c58b9370a1398528016e6953f (patch) | |
tree | 1e81558498b765f0faac4c8588c18fbc4bfc8dfb /Transceiver52M/pulseApproximate.m | |
parent | ec3d77d0eaa12c102893490766557dd4d4efd029 (diff) |
Adding in the missing Transceiver52M directory
git-svn-id: http://wush.net/svn/range/software/public/openbts/trunk@2307 19bc5d8c-e614-43d4-8b26-e1612bc8e597
Diffstat (limited to 'Transceiver52M/pulseApproximate.m')
-rw-r--r-- | Transceiver52M/pulseApproximate.m | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/Transceiver52M/pulseApproximate.m b/Transceiver52M/pulseApproximate.m new file mode 100644 index 0000000..2ff9234 --- /dev/null +++ b/Transceiver52M/pulseApproximate.m @@ -0,0 +1,15 @@ +pp = [0 0 0.015 0.18 0.7 0.96 0.7 0.18 0.015 0 0]; +t = -2.5:0.5:2.5; + +v = -0.000:-0.001:-1.999; + + +for ix1 = 1:length(v), + disp(ix1); + for ix2 = 1:length(v), + p = exp(v(ix1)*t.^2+v(ix2)*t.^4); + r(ix1,ix2) = norm(p./max(abs(p)) - pp./max(abs(pp))); + end; +end; + + |