Author Topic: new column creation  (Read 468 times)

Offline Panos

  • Newbie
  • *
  • Posts: 1
  • Matlab Forum
    • View Profile
new column creation
« on: March 20, 2011, 11:16:42 PM »
Hello,
 
 
I am a new user of Matlab and I'd like to ask some help:
 
 
I have a input file (example,txt) which contains three columns

> 0 0 0
> 1 2 5
> 2 3 6
> 3 4 4
> 4 1 3
> 6 4 8
> 5 2 9
> 2 5 5

I need to save the sum of the three columns in the fourth column.
 
Any hint?
 
 
Many thanks in advance
 
 
Panos

Matlab and SimuLink Development Forum

new column creation
« on: March 20, 2011, 11:16:42 PM »