Question: Use Matlab and the commands fft ( ) , fft 2 ( ) , imrotate ( ) and griddata ( ) , to demonstrate the

Use Matlab and the commands fft(), fft2(), imrotate() and griddata(), to demonstrate the Central Slice Theorem. Note that the projection operation can be simulated using the sum() command along rows or columns in an array that represents the object domain, and the imrotate() command can be used to rotate your array to change the angle used for the projection calculation. (You should use the crop flag in imrotate() to keep the array size from changing. This will work better if you keep all of your nonzero object data inside a circle that is entirely inside your object array.) The command griddata() performs interpolation of data and can be used to interpolate polar data in the spatial frequency domain. For griddata() you will need to define 5 arrays. The first three are matched arrays: one that contains a list of the x-positions of your polar data, one that contains the y-positions of your polar data, and the third is the (frequency domain) set of your polar data that you want to interpolate to the cartesian grid points. The last two arrays should be the same size as your expected cartesian map of your output (spatial frequency) data: the first should be the list of x-coordinates for your desire cartesian grid and the second should be the list of y-coordinates for your cartesian grid.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!