Info

This question is closed. Reopen it to edit or answer.

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

1 view (last 30 days)
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?

Answers (1)

Ajith Krishna Kanduri
Ajith Krishna Kanduri on 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

Products


Release

R2018a

Community Treasure Hunt

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

Start Hunting!