Info

La pregunta está cerrada. Vuélvala a abrir para editarla o responderla.

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

1 visualización (últimos 30 días)
venkat ta
venkat ta el 4 de Jun. de 2020
Cerrada: MATLAB Answer Bot el 20 de Ag. de 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?

Respuestas (1)

Ajith Krishna Kanduri
Ajith Krishna Kanduri el 19 de Jun. de 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

Etiquetas

Productos


Versión

R2018a

Community Treasure Hunt

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

Start Hunting!

Translated by