[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Matlab to Octave - problem wih the conversion
From: |
Istan |
Subject: |
Re: Matlab to Octave - problem wih the conversion |
Date: |
Thu, 4 Aug 2016 04:49:24 -0700 (PDT) |
Hi,
Thank you for your answer and these informations.
I m a new user of matlab and octave. I m sorry for the bad usage of the term
Freeware, you are right. I didn't know the term of FOSS, the reason why I
have used this inappropriate term.
After I have posted, I have tried to find an over way to read my file, until
this code on Octave :
clear;
dlmread('1.txt',' ');
fid = [1,2,lines('400.txt'),5];
the .txt is read and I can see my value. Unfortunately, the text file
doesn't present always the same amount of space between each value, giving
this kind of table (example) :
x1 x2 x3 x4 x5 x6 x7 .... x
1 0 0 0 0 2 0 0
2 0 0 0 3 0 0 0
3 0 0 0 0 36 0 0
4 0 0 8 0 0 0 0
5 0 0 0 0 0 0 5
6 0 0 0 3 0 0 0
In the end, I want to do 2 column :
x1 x2
1 2
2 3
3 36
4 8
5 5
6 3
to plot(x1,x2)
I have posted too quickly yesterday, my ask lack of explanation.
Cordially,
Guillaum
--
View this message in context:
http://octave.1599824.n4.nabble.com/Matlab-to-Octave-problem-wih-the-conversion-tp4678981p4679002.html
Sent from the Octave - General mailing list archive at Nabble.com.
- Matlab to Octave - problem wih the conversion, Istan, 2016/08/03
- Re: Matlab to Octave - problem wih the conversion, Juan Pablo Carbajal, 2016/08/04
- Re: Matlab to Octave - problem wih the conversion, Sebastian Schöps, 2016/08/04
- Re: Matlab to Octave - problem wih the conversion,
Istan <=
- Re: Matlab to Octave - problem wih the conversion, Juan Pablo Carbajal, 2016/08/04
- Re: Matlab to Octave - problem wih the conversion, Juan Pablo Carbajal, 2016/08/04
- Re: Matlab to Octave - problem wih the conversion, Istan, 2016/08/04
- Re: Matlab to Octave - problem wih the conversion, Juan Pablo Carbajal, 2016/08/04
- Re: Matlab to Octave - problem wih the conversion, Istan, 2016/08/04
- Re: Matlab to Octave - problem wih the conversion, Juan Pablo Carbajal, 2016/08/04
- Re: Matlab to Octave - problem wih the conversion, Istan, 2016/08/05
- Re: Matlab to Octave - problem wih the conversion, Sebastian Schöps, 2016/08/04
- Re: Matlab to Octave - problem wih the conversion, Juan Pablo Carbajal, 2016/08/04
- Re: Matlab to Octave - problem wih the conversion, Sebastian Schöps, 2016/08/04