Skip to content

For MATLAB accidents that lead to interesting results

Notifications You must be signed in to change notification settings

lmendo/MATLABaccidents

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 

Repository files navigation

MATLABaccidents

For MATLAB accidents that lead to interesting results

Add any funny or fancy code that you got doing MATLAB stuff


The following accident are included:

Bone-sets

Author: Ander Biguri

Medium: Arithmetic Bug on gif

Level-set algorithm attempting to segment a 3D volume of a CT scan of a human thorax. An opposite sign generates a trippy biologically looking image while still partially segmenting the bone structure.

Mondrian.gif

Author: Ander Biguri

Medium: Indexing/Arithmetic Bug on gif

A miserably failed attempt to generate projections from tetrahedra meshes. Error unknown.

Zebra Bregman

Author: Ander Biguri

Medium: Arithmetic Bug on png

Split-Bregman globally convex segmentation misses a sign, decides to go full sabanah horse.

triangle_mesh_index_error

Author: Ander Biguri

Medium: Indexing Bug on png

Triangles look very nice when plotted, but the importance of a -1 in the code can not be ignored, as this crude representation of aberrant indexing shows.

subgradient_descend_bye_bye

Author: Ander Biguri

Medium: Mathematics on png

When the derivatives are wrong, the gradient goes to hell (or in that general direction). The solution is be in the center.

Infiniteloop

Author: Ander Biguri

Medium: Floating point accuracy on png

Look, I needed all those decimals, and float32 was not giving me all those decimals. Decimals are what I wanted. Lots of them.

recosntruction_index_error

Author: Ander Biguri

Medium: Indexing error on png

Sometimes bad indexing just generates pretty images. Just that, just pretty images.

covariance and covariance2

Author: Adriaan

Medium: Colormaps on png

Maybe a different colormap represent better this isolines of the covariance? Maybe.

map_of_USA

Author: Dev-il

Medium: png

USA looked different in my school maps.

derp_cornu

Author: Luis Mendo

Medium: Too many things on png

One cornu was good, by why not just put more?

yarn

Author: Luis Mendo

Medium: Too many things on png

Yarn.

About

For MATLAB accidents that lead to interesting results

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published