uploading a file txt

Chiara chi.venier at gmail.com
Tue Jul 5 11:51:52 CEST 2011


Hi!
Thanks for your answer. My mistake was to keep the heading (even if
commented) in the txt file. Anyway now the matrix is correctly uploaded. 

Two more issues...

In order to save the new matrix and I wrote the command "save('M_new.txt')"
but a matrix like the following is saved. Is it a problem of format?

 âã@     âã@     âã@     âã@     âã@     âã@     âã@     âã@     âã@     âã@    
âã@     âã@     âã@     âã@     âã@     âã@     âã@     âã@     âã@     âã@    
âã@     âã@     âã@     âã@     âã@     âã@     âã@     âã@     âã@     âã@    
âã@     âã@     âã@     âã@     âã@     âã@     âã@     âã@     âã@     âã@    
âã@     âã@     âã@     âã@     âã@     âã@     âã@     âã@     âã@     âã@    
âã@     âã@    

I'd like to delete the rows corresponding to NaN values. In matlab I used
the following command:
M_new(or(isnan(M_new)'),:) = []
In scilab it doesn't seem to work. Is there a similar functions?

Thanks again for your help

Chiara



--
View this message in context: http://mailinglists.scilab.org/uploading-a-file-txt-tp3090694p3140221.html
Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com.



More information about the users mailing list