diff options
author | leochanj <jbakita@cs.unc.edu> | 2020-10-21 01:52:54 -0400 |
---|---|---|
committer | leochanj <jbakita@cs.unc.edu> | 2020-10-21 01:52:54 -0400 |
commit | 25d94aa8aabb8ac3e8bbea0bc439ea6148444cc8 (patch) | |
tree | ba80e76d25d9ca9486092e2f6b6d76f0e3352bf7 /SD-VBS/benchmarks/localization/src/matlab/quatMul.m | |
parent | e2b50015cebdfba68699abd6e8575e38230f5a78 (diff) |
debug libextra and remove matlab
Diffstat (limited to 'SD-VBS/benchmarks/localization/src/matlab/quatMul.m')
-rw-r--r-- | SD-VBS/benchmarks/localization/src/matlab/quatMul.m | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/SD-VBS/benchmarks/localization/src/matlab/quatMul.m b/SD-VBS/benchmarks/localization/src/matlab/quatMul.m deleted file mode 100644 index b397554..0000000 --- a/SD-VBS/benchmarks/localization/src/matlab/quatMul.m +++ /dev/null | |||
@@ -1,18 +0,0 @@ | |||
1 | function retQuat=quatMul(a, b) | ||
2 | |||
3 | rowsa = size(a,1); | ||
4 | colsa = size(a,2); | ||
5 | |||
6 | rowsb = size(b,1); | ||
7 | colsb = size(b,2); | ||
8 | |||
9 | retQuat=[a(:,1).*b(:,1) - a(:,2).*b(:,2) - a(:,3).*b(:,3) - a(:,4).*b(:,4) ... | ||
10 | a(:,1).*b(:,2) + a(:,2).*b(:,1) + a(:,3).*b(:,4) - a(:,4).*b(:,3) ... | ||
11 | a(:,1).*b(:,3) - a(:,2).*b(:,4) + a(:,3).*b(:,1) + a(:,4).*b(:,2) ... | ||
12 | a(:,1).*b(:,4) + a(:,2).*b(:,3) - a(:,3).*b(:,2) + a(:,4).*b(:,1)]; | ||
13 | |||
14 | % disp('retQuat'); | ||
15 | % disp(retQuat); | ||
16 | |||
17 | |||
18 | |||