*add calibration data
This commit is contained in:
@@ -0,0 +1,19 @@
|
|||||||
|
clear;clc;
|
||||||
|
name = 'LJ01';
|
||||||
|
load(['phase_' name '.mat']);
|
||||||
|
data = sortrows(dataDec1, 1);
|
||||||
|
|
||||||
|
fprintf('calMap[%s]="\\{\\n\\\n', name);
|
||||||
|
for i = 1:size(data,1)
|
||||||
|
if (mod(i, 2) == 1)
|
||||||
|
fprintf("\t");
|
||||||
|
end
|
||||||
|
fprintf("\\{%6d, %6d, %6d, %6d\\},", ...
|
||||||
|
data(i,2), data(i,3), data(i,4), data(i,5));
|
||||||
|
if (mod(i, 2) == 1)
|
||||||
|
fprintf(" ");
|
||||||
|
else
|
||||||
|
fprintf("\\n\\\n");
|
||||||
|
end
|
||||||
|
end
|
||||||
|
fprintf('\\n\\\n};"\n');
|
||||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Reference in New Issue
Block a user