Azzera filtri
Azzera filtri

I hava a string with different binary values. the binary values are seperated by spaces. I want to export this data to a txt file, but I want each binary value to be in a new line in the txt file.

1 visualizzazione (ultimi 30 giorni)
I hava a string with different binary values. the binary values are seperated by spaces. I want to export this data to a txt file, but I want each binary value to be in a new line in the txt file.
I am curtrently using the following code to get the string
ECG_BIN_CELL = bin(fi(sigECG,1,32,31));
temp = strcat(cellstr(ECG_BIN_CELL));
for exampl the string is as follows
'00000110000000110101010011111111 00000110001111100001100001110011 00000110010000000011001110100100 00000110000100110100101111011101 .........'
and I want the test file to have it as follows
00000110000000110101010011111111
00000110001111100001100001110011
00000110010000000011001110100100
00000110000100110100101111011101
.
.
.
.

Risposte (1)

darova
darova il 25 Apr 2020
See this solution

Categorie

Scopri di più su Characters and Strings in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by