mirror of https://github.com/pvnis/srsRAN_4G.git
Generated robust MMSE for 50 prb
parent
bcc80bc6c0
commit
38e005af14
@ -0,0 +1,14 @@
|
||||
function [ out ] = write_c_struct_complex( filename, varname, x)
|
||||
|
||||
[tidin msg]=fopen(filename,'wt');
|
||||
if (tidin==-1)
|
||||
fprintf('error opening %s: %s\n',filename, msg);
|
||||
out=[];
|
||||
return
|
||||
end
|
||||
fprintf(tidin, 'float %s[%d]={%.9g,%.9g',varname,2*length(x),real(x(1)),imag(x(1)));
|
||||
fprintf(tidin, ',\n %.9g,%.9g',real(x(2:end)),imag(x(2:end)));
|
||||
fprintf(tidin, '};\n');
|
||||
fclose(tidin);
|
||||
end
|
||||
|
Binary file not shown.
After Width: | Height: | Size: 14 KiB |
Binary file not shown.
After Width: | Height: | Size: 53 KiB |
Binary file not shown.
After Width: | Height: | Size: 52 KiB |
Binary file not shown.
After Width: | Height: | Size: 33 KiB |
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue