Output nested cell array and save to text file

조회 수: 4 (최근 30일)
S.R.
S.R. 2020년 6월 8일
댓글: Adam Danz 2020년 6월 9일
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