1 %/******************************************************************************
3 %* Copyright (c) 2019 Intel.
5 %* Licensed under the Apache License, Version 2.0 (the "License");
6 %* you may not use this file except in compliance with the License.
7 %* You may obtain a copy of the License at
9 %* http://www.apache.org/licenses/LICENSE-2.0
11 %* Unless required by applicable law or agreed to in writing, software
12 %* distributed under the License is distributed on an "AS IS" BASIS,
13 %* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 %* See the License for the specific language governing permissions and
15 %* limitations under the License.
17 %*******************************************************************************/
20 %fileID_c = fopen('ant_7.bin','r');
21 %ant7_c= fread(fileID_c, [2, 792*14*80], 'integer*2');
28 ifft_in = load('ifft_in.txt')
31 ant_c = [ant_c; ifft_in];
52 ant0_16=int16(ant0.');
53 fileID = fopen('ant_0.bin','w');
54 fwrite(fileID,ant0_16, 'int16');
57 ant1_16=int16(ant1.');
58 fileID = fopen('ant_1.bin','w');
59 fwrite(fileID,ant1_16, 'int16');
62 ant2_16=int16(ant2.');
63 fileID = fopen('ant_2.bin','w');
64 fwrite(fileID,ant2_16, 'int16');
67 ant3_16=int16(ant3.');
68 fileID = fopen('ant_3.bin','w');
69 fwrite(fileID,ant3_16, 'int16');
72 ant4_16=int16(ant4.');
73 fileID = fopen('ant_4.bin','w');
74 fwrite(fileID,ant4_16, 'int16');
77 ant5_16=int16(ant5.');
78 fileID = fopen('ant_5.bin','w');
79 fwrite(fileID,ant5_16, 'int16');
82 ant6_16=int16(ant6.');
83 fileID = fopen('ant_6.bin','w');
84 fwrite(fileID,ant6_16, 'int16');
87 ant7_16=int16(ant7.');
88 fileID = fopen('ant_7.bin','w');
89 fwrite(fileID,ant7_16, 'int16');
92 ant8_16=int16(ant8.');
93 fileID = fopen('ant_8.bin','w');
94 fwrite(fileID,ant8_16, 'int16');
97 ant9_16=int16(ant9.');
98 fileID = fopen('ant_9.bin','w');
99 fwrite(fileID,ant9_16, 'int16');
102 ant10_16=int16(ant10.');
103 fileID = fopen('ant_10.bin','w');
104 fwrite(fileID,ant10_16, 'int16');
107 ant11_16=int16(ant11.');
108 fileID = fopen('ant_11.bin','w');
109 fwrite(fileID,ant11_16, 'int16');
112 ant12_16=int16(ant12.');
113 fileID = fopen('ant_12.bin','w');
114 fwrite(fileID,ant12_16, 'int16');
117 ant13_16=int16(ant13.');
118 fileID = fopen('ant_13.bin','w');
119 fwrite(fileID,ant13_16, 'int16');
122 ant14_16=int16(ant14.');
123 fileID = fopen('ant_14.bin','w');
124 fwrite(fileID,ant14_16, 'int16');
127 ant15_16=int16(ant15.');
128 fileID = fopen('ant_15.bin','w');
129 fwrite(fileID,ant15_16, 'int16');