Really simple Matlab question.. - Programmers Heaven

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


Really simple Matlab question..

bas108bas108 Posts: 1Member
It's been a few years since I have used Matlab, and I really need to brush up on my skills.
The project I'm working on requires me to extract data from a .txt file, and replace the data.
Specifically, I need to replace all the 6's in the first column (there are 4 columns and 5,200 rows) with 2's. None of the other columns need changed. I forget how to use Matlab to read specific items from a table and then replace the number. I know I am going to need to use a while loop, I just forget the commands that I'm going to need to use.
This is a very general question, but can anyone give me some help?
Sign In or Register to comment.