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,
  1 件のコメント
Adam Danz
Adam Danz 2020 年 6 月 9 日
see fprintf()

サインインしてコメントする。

回答 (0 件)

カテゴリ

Help Center および File ExchangeStandard File Formats についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by