The use of findobj and set for graphics properties

After you create a plot in Matlab, you might need to modify the characteristics of the figure. While many options can be specified during the initial plot command, they can easily be modified later as well using plot handles, and the useful functions of ‘findobj’,'get’ and ‘set’. If you are unclear on some of these commands, or need a refreshers, take a look at our tutorial on plotting .

Continue reading

Bookmark and Share
Posted in Tips & Tutorials | Tagged , , , , , , , | 1 Comment

Introducing our Forums

We just launched our new Forums page on Matlab Geeks.  Because of the large quantity of questions that we receive through email and on our posts, we thought that it would be more productive for you (and easier for us) if these questions saw more public exposure.  If you have a question about Matlab, please post it on our forums.  Additionally, if you know the answer to a question that someone has posted, please answer it.  We hope to build a community of Matlab users on this site which will be mutually beneficial for all of those involved.  To participate in the forums, just click this link or the “Forums” link under the header.

Bookmark and Share
Posted in Miscellaneous | Leave a comment

How to Blur an Image with a Fourier Transform in Matlab – Part I

In the last post, many moons ago, I introduced the 2-D FFT and discussed the magnitude and phase components of the spatial Fourier domain.  In the next few posts, I would like to describe a concrete application of the 2-D FFT, namely blurring.  Blurring and deblurring are useful image processing techniques that can be used in a variety of fields.  I will explain what blur is mathematically, how it is performed artificially, and how to deblur an image.  In future posts, I’ll go into more depth about what happens in the spatial domain, different types of blur, and some current deblurring technology.

Continue reading

Bookmark and Share
Posted in Tips & Tutorials | Tagged , , , , , , , , , | Leave a comment

Modeling with ODEs in Matlab – Part 4A

It’s finally time for Part 4! Now that we know how to design and numerically solve simple ODE models it’s time to take a look at how to fit these models to empirical data. It is important to remember that we design models to simulate real behavior. Thus, it is important to be able to tie our ODE equations to the real system we trying to model. We do this by choosing values for our model parameters that makes the system behave similar to real world behavior.
Continue reading

Bookmark and Share
Posted in Tips & Tutorials | 4 Comments

Getting user input in MATLAB – the use of input, ginput and inputdlg

Sorry for the delay in postings, but many of us are in the state of transition, whether its school, weddings or work. As a simple tutorial to get back into the swing of things, let’s look at several different ways of requesting user input in your MATLAB programs. While you will often need to display information to the user, you will have to request data from them as well. There are several options available to you, and we will run through many of them here. The most basic of which is the command line based “input”.

Continue reading

Bookmark and Share
Posted in Tips & Tutorials | Tagged , , , , , | 15 Comments