Category Archives: Matlab examples

How to make black&white images look good

Grayscale pictures are very relevant, even in these highly digital days. One reason is that in print media it is much cheaper to publish images in monochrome rather than in colour. Another reason is the human visual system where, roughly … Continue reading

Posted in Matlab examples, Sekalaista, Visualization | Leave a comment

Including movies in LaTeX beamer

All technological gimmicks are allowed in today’s fierce scientific presentation arms race. Even videos! This is of course almost unheard of in the world of mathematicians who like to stick with blackboards and view OHP’s as useless snobbery. But the … Continue reading

Posted in Beamer tricks, LaTeX tricks, Matlab examples | 1 Comment

Explaining sine and cosine visually

Articles and presentations often benefit from geometric illustrations. But how to draw them? There are of course many software options for creating vector graphics, but it is practical to use as few different tools as possible. That’s why I rely … Continue reading

Posted in Geometric illustration, Matlab examples, Visualization | 1 Comment

Plotting a function of one variable

Let’s study one of the most common tasks in the visualization of applied mathematics: plotting a function on a real variable. Matlab’s default settings often need some tuning for a specific purpose. The example is very simple: plot the sine … Continue reading

Posted in Matlab examples, Visualization | Tagged , , | Leave a comment

Displaying Image Data for Comparison

I am often faced with the problem of showing an “original image” and a “reconstructed image,” which may have completely different dynamic ranges. Namely, when working with ill-posed inverse problems, unsuccessful reconstructions sometimes amplify measurement noise a lot. However, it … Continue reading

Posted in Matlab examples, Visualization | Tagged , , , | Leave a comment