jeanluct / braidlab

Matlab package for analyzing data using braids
GNU General Public License v3.0
23 stars 9 forks source link

What to do with NaN? #59

Closed jeanluct closed 9 years ago

jeanluct commented 9 years ago

Margaux had some trouble creating a data braid because the trajectories contained some NaN's. But even worse is the fact that braidlab does return something in this example:

#!matlab

>> XY = zeros(3,2,2);
>> XY(:) = NaN;
>> b = braid(XY)

b = 

 < e >

That doesn't sound right... or does it? It seems to me it should complain.

jeanluct commented 9 years ago

From Jean-Luc Thiffeault on 2014-07-22 02:24:34+00:00

Check for NaN and Infs in colorbraiding.m. Resolves issue #59.

→ <<cset 09a48dc09431>>