Output nested cell array and save to text file

4 Ansichten (letzte 30 Tage)
S.R.
S.R. am 8 Jun. 2020
Kommentiert: Adam Danz am 9 Jun. 2020
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,

Antworten (0)

Kategorien

Mehr zu Standard File Formats finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by