cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Did you get an answer that solved your problem? Please mark it as an Accepted Solution so others with the same problem can find the answer easily. X

Translate the entire conversation x

Floating point error

Cornel
19-Tanzanite

Floating point error

Translator
 
 
 
 

 

 

Hi,

I am facing below error. I am reading a .txt file with some data points, and I want to make/have a function like f(x) interpolating teste data points.

Cornel_0-1751631622530.png

Cornel_1-1751631633790.png


Prime 10 file attached.

ACCEPTED SOLUTION

Accepted Solutions

Hi,

Text file has an error on the last line of the file giving rise to two NaN's at the end of the matrix columns of "a". Have edited out the last line of the text file and it now works

Cheers

Terry

 

View solution in original post

3 REPLIES 3
Cornel
19-Tanzanite
(To:Cornel)

Translator
 
 
 
 

 

 
 

Cornel_0-1751633376065.png

Having less data points in txt file.

Hi,

Text file has an error on the last line of the file giving rise to two NaN's at the end of the matrix columns of "a". Have edited out the last line of the text file and it now works

Cheers

Terry

 

 

Ok, I see, thanks

 
Announcements


Top Tags