Skip to content

Latest commit

 

History

History
124 lines (63 loc) · 2.44 KB

README.md

File metadata and controls

124 lines (63 loc) · 2.44 KB

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.