YouTube RSS
YouTube RSS
Skip to content
  • About me
  • Home
  • Contact
  • Photos
    • News
    • Food
    • Statues
  • Links
  • My Keyboard Shortcuts
  • Publications
    • Research
    • Project reports
  • Artwork
    • 2d illustrations
    • 3d Modeling
    • Stop motion

Approximating pi using Apples

In this post I will look at a new variant of an old way of approximating pi using random numbers, a so-called “Monte Carlo” method. Yes, Monte Carlo as in the casino. There is another…

Continue reading

Matz August 29, 2014 - 4:32 pm February 28, 2015Math, Programming Monte Carlo, Pi 0

Look and Say Sequence (Conway’s constant)

I just took a look at John Conway’s video at Numberphile about the “look-and-say” sequence or as Conway called it “The Weird and Wonderful Chemistry of Audioactive Decay”. He did a lot of research on…

Continue reading

Matz August 9, 2014 - 1:16 am January 26, 2015Math, Programming Conway 0

123d Catch – 3D Reconstruction Using Photos

In late May of 2013 I came to think about 3D printing and its cousin: 3D reconstruction. 3D printing has been popularized by countless interesting projects on the web. Instructibles, YouTube channels dedicated to 3D…

Continue reading

Matz July 27, 2014 - 3:47 pm January 26, 2015Instructional, Review 123D Catch, 3ds max, Autodesk, camera, visualization 2

CSV Parsing in Matlab

A couple of weeks ago I needed to parse the gmail contacts of my local magician’s club (GMK – Göteborgs Magiska Klubb) of which I belong to. My task was to create a neat list…

Continue reading

Matz July 12, 2014 - 9:45 pm January 26, 2015MATLAB, Programming csv, excel, parsing, string 0

Copy Files to Multiple USB Drives

The other day I had to copy a couple of HTML and PDF files to 30 USB thumb drives. To make this as efficient as possible, I found a way to do this using (Perl…

Continue reading

Matz June 25, 2014 - 3:40 pm January 26, 2015Programming, Python files, PDF, USB 2

My Hard Drive Crashed!

The other day I was awaken thanks to my computer making the weirdest noises. It was like a very faint beeping, almost like it was a time bomb, counting down. I had no idea what…

Continue reading

Matz June 8, 2014 - 1:42 am October 18, 2015Instructional files, HDD 0

Finding the Taxi Cab Numbers

This post is about “Taxi cab numbers” specifically the “Ramanujan-Hardy number”, 1729. This specific taxi cab number is so-called because it is the smallest positive number that can be written as a sum of two…

Continue reading

Matz May 30, 2014 - 10:28 pm July 1, 2014MATLAB Fermat's Last Theorem, Floating Point Number, Ramanujan 2

Realistic Fire Simulation using Cellular Automata

In this post I will explain how you can create an interesting fire effect using simple “game of life”-like rules and some post processing and why it is not a good idea to do this…

Continue reading

Matz May 13, 2014 - 1:33 pm August 19, 2014MATLAB Image Processing, matlab, simulation, visualization 2

Prezi vs Sozi

Sozi is an Inkscape extension enabling the user to create Prezi-like presentations with the rotating and zooming animations and bells and whistles that we all love. The great thing with Sozi is that it creates…

Continue reading

Matz April 26, 2014 - 3:32 pm January 20, 2015Instructional, LaTeX, Python inkscape, prezi, sozi 2

Faster Linear Convolution Using Careful Zero Padding

When computing a linear convolution between an image I and a kernel K, the convention is to use FFT, pad with zeroes (also called zero filling) and use the convolution theorem to do this efficiently.…

Continue reading

Matz April 12, 2014 - 10:31 pm May 7, 2017MATLAB convolution, factor, FFT, matlab, padding, recursion 0

WordPress Blanked Me!

This post title should have read “Help, my wordpress returns blank pages and I cannot log in to my admin page!”. I just thought it was fitting to say that WordPress f****d me over. It…

Continue reading

Matz April 7, 2014 - 3:19 pm April 4, 2020Wordpress database, phpmyadmin, ubuntu, wordpress 0

Double-Slit Experiment Simulation

This post is about simulating the double-slit experiment using a water tank simulation in Matlab. The simulation is really used to create a rain drop animation, but I modified it slightly to do the double-slit…

Continue reading

Matz March 31, 2014 - 11:14 am August 4, 2014MATLAB experiment, matlab, physics, wave 5

Beveled Cube from a Sphere

This post is about how one can map a sphere to a “rounded”, “smoothed” or as I prefer to call it a “beveled” cube. We will as a bonus also see how to make a…

Continue reading

Matz February 16, 2014 - 12:14 am June 19, 2014MATLAB matlab 0

How to create Valentine Bunnies in Game of Life

Game of Life is a very interesting and a surprisingly simple algorithm invented by John Horton Conway in the seventies. The game is for 0 players, because it is really not a game in the…

Continue reading

Matz February 14, 2014 - 12:00 am September 24, 2014C Conway, Game of Life, heart, Valentine 0

Fast Fourier Transform of a zero vector

This is a short post about FFT of zero vectors and as a result show why FFTW does not check if the argument is a zero vector. I could argue that zero vectors are a…

Continue reading

Matz February 8, 2014 - 8:20 pm February 16, 2014MATLAB FFT, matlab, optimization 0

Taxi Company Dispatch Simulation

As a part of the course in “Simulation of Complex Systems” I suggested a project. The project was to simulate the dispatch system of a taxi cab company. The goal was to essentially simulate where…

Continue reading

Matz January 26, 2014 - 7:39 pm September 28, 2015MATLAB dispatch, matlab, simulation, sparse matrix, taxi, visualization 2

Reverse Engineering the 3D Wire Turtle Puzzle

I love art and puzzles and this mini-project combines these two concepts into one, the “3D Wire turtle puzzle”. In this post I will “reverse engineer” the design of a wire puzzle that is seen…

Continue reading

Matz January 23, 2014 - 11:54 pm January 20, 2015Art, Inkscape 3ds max, puzzle, vray 2

Hybrid images: Adolf Chaplin and Miley Einstein

I recently attended a course in Image Processing and in one lecture my teacher showed me an image of Marilyn Monroe depicted in a newspaper. My teacher then took the newspaper and walked towards the…

Continue reading

Matz January 22, 2014 - 12:50 am April 23, 2014Photoshop Chaplin, Einstein, filter, Hitler, Image Processing, Miley Cyrus 0

Wave propagation using vertical springs

This is a simple MATLAB code I created which simulates the way a wave propagates through a medium. I wanted to simulate the wave machine created by John N. Shive at Bell Telephone laboratories. The…

Continue reading

Matz January 20, 2014 - 1:00 am April 4, 2015MATLAB, Programming, Uncategorized matlab, physics, simulation, spring, wave 0

Block Chromatic Noise

I love photography and image processing and this little project, that I wish to share with you, I finished way back in April 2012. I recently found this in my old dropbox account and thought…

Continue reading

Matz January 11, 2014 - 2:59 am March 6, 2015Programming camera, exposure, hidden message, noise 0

Faro Shuffle retention

This post is about faro shuffles. A Faro shuffle is a perfect riffle shuffle of two halves of a deck of cards so that each card from each half is interlaced perfectly. There are two…

Continue reading

Matz January 10, 2014 - 3:00 pm January 20, 2015Magic, Programming faro shuffle, FFT, magic, matlab 0
12
  • Friends blogs

  • Play Español (Learn Spanish)
  • Jahr Iljas art blog
  • Jonas' blog (mostly Haskell)
  • Recent comments

    • Matz on 123d Catch – 3D Reconstruction Using Photos
    • Patrik Magnerius on 123d Catch – 3D Reconstruction Using Photos
    • Matz on Smoothing a Halftone Photo using FFT
    • Kelvin on Smoothing a Halftone Photo using FFT
    • Matz on Explorer is Flirting with me
  • Tags

    3ds max advent of code AI Alien argument Autodesk backup BIOS bug camera conference convolution Conway drivers dropbox Einstein experiment exposure FFT files filter heart Image Processing keyboard matlab Monte Carlo moral movies noise physics Pi printer puzzle quadcopter Sci-Fi simulation sourdough starwars ThreeJS time lapse USB virtualbox visualization wave Windows 7
  • Meta

    • Log in
    • Entries feed
    • Comments feed
    • WordPress.org
All rights reserved (C) Matz Johansson Bergström 2015-2021.
YouTube RSS
Powered by Tempera & WordPress.
MatzJB
Manage Cookie Consent
We use cookies to optimize our website and our service.
Functional Always active
The technical storage or access is strictly necessary for the legitimate purpose of enabling the use of a specific service explicitly requested by the subscriber or user, or for the sole purpose of carrying out the transmission of a communication over an electronic communications network.
Preferences
The technical storage or access is necessary for the legitimate purpose of storing preferences that are not requested by the subscriber or user.
Statistics
The technical storage or access that is used exclusively for statistical purposes. The technical storage or access that is used exclusively for anonymous statistical purposes. Without a subpoena, voluntary compliance on the part of your Internet Service Provider, or additional records from a third party, information stored or retrieved for this purpose alone cannot usually be used to identify you.
Marketing
The technical storage or access is required to create user profiles to send advertising, or to track the user on a website or across several websites for similar marketing purposes.
Manage options Manage services Manage vendors Read more about these purposes
Preferences
{title} {title} {title}