Output nested cell array and save to text file

7 次查看(过去 30 天)
Hi,
I would like to output following to the text files:
first={'! your_mixer_name'};
begin={'BEGIN data'};
test={'TEST CONDITIONS:'};
header={ '%Freq_In(real)' , 'ConvGain(real)', 'NF(real)', 'IP1dB(real)' , 'IPSAT(real)', 'IIP3(real)', 'IIP2(real)', 'IR(real)', 'RTOI(real)', 'LTOR(real)', 'LTOI(real)', 'ZR(real)', 'ZI(real)', 'ZL(real)'};
Units={'! Hz', 'dB', 'dB', 'dBm', 'dBm', 'dBm', 'dBm', 'dB', 'dB', 'dB', 'dB' , 'Ohm' , 'Ohm', 'Ohm'};
M= [x ; yCG ; yNF; yIP1dB; yIPSAT ; yIIP3 ; yIIP2 ; yIR; yRTOI; yLTOR; yLTOI; yZR; yZI; yZL]' ;
endA={'END'}
M- are the floating point numbers.
Thank you,

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Standard File Formats 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by