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!


Welcome to the new platform of Programmer's Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use its exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.

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.