Output nested cell array and save to text file

4 visualizaciones (últimos 30 días)
S.R.
S.R. el 8 de Jun. de 2020
Comentada: Adam Danz el 9 de Jun. de 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,

Respuestas (0)

Categorías

Más información sobre Standard File Formats en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by