Info

Diese Frage ist geschlossen. Öffnen Sie sie erneut, um sie zu bearbeiten oder zu beantworten.

Edit the txt file second column ONLY and save as same format

1 Ansicht (letzte 30 Tage)
venkat ta
venkat ta am 4 Jun. 2020
Geschlossen: MATLAB Answer Bot am 20 Aug. 2021
I want to edit (minus 20dB) only in the second column and others I don't want to change anything and I want to save as same txt format style
can you guide me in the code?

Antworten (1)

Ajith Krishna Kanduri
Ajith Krishna Kanduri am 19 Jun. 2020
Hi Venkat,
You can read the txt file in the form of table,then you can perform the changes you want in the text file on the table,then save back table to text file.
You can refer to this link to create a table.
You can slightly modify the code given by Image Analyst in that thread and make the changes without creating the table

Diese Frage ist geschlossen.

Produkte


Version

R2018a

Community Treasure Hunt

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

Start Hunting!

Translated by