I have a file with data arranged in several rows and coloumns (with few gaps in it)... How can i have an output text file with those gaps filled by zeroes?

1 view (last 30 days)
input files and output files are as attached.
Input file contains some gaps.. where as in output file zeroes are filled in these gaps.
Please provide me some code which can fill the zeroes into the gaps

Answers (1)

Image Analyst
Image Analyst on 16 Mar 2014
If one row has 10 columns, and the next row has 6 columns, how can we know which 4 columns the zeros are supposed to go into? And why are they missing in the first place? Can't you prevent that from happening at the source?

Categories

Find more on Migrate GUIDE Apps in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!