MATLAB Answers

How to load two text files and find the difference between them?

15 views (last 30 days)
Lujain Almarhabi
Lujain Almarhabi on 12 Sep 2021
Answered: Lujain Almarhabi on 19 Sep 2021 at 22:42
I have some text files with numerical data basically bunch of numbers that I am trying to compare between the two. I wanna subtract each number from the frist file from the second file to give me an idea of how "different" these two files or how far off the numbers are from each other.
I know how to load a text file, just not sure how to perform this subtraction. I will post a text file sample to see how big or the size of these data for your reference.

Sign in to comment.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!

Translated by