the stationary signal f(t)=cos(2*pi*5*t)+ cos(2*pi*10*t)+ cos(2*pi*20*t)+ cos(2*pi*50*t) having frequencies of 5,10, 20and 50 Hz at any given time instant.
MATLAB program can be implemented to plot the stationary signal mentioned above:
Clear all; Clf;
n=1:200; y=cos(2*pi*5*n/200)+cos(2*pi*10*n/200)+cos(2*pi*20*n/200)+cos(2*pi*50*n/200); plot(y);
/*sampling frequency...
A collection of files for path tracing is intended for detecting an external border of spot ? 1-connected black pixels set. A c c e p t data: a file with an image or an appropriate array. O u t p u t: two integer arrays with coordinates...
This function accepts the diagonal size (the size usually advertised) in inches of a television's screen, as well as the aspect ratio of that television, as inputs, and returns the width and height of the television screen in inches. Technically,...
Compute the minimal bounding box of a set of 2D points, similarly to the "Minimal Bounding Rectangle" of John D'Errico.
However: - The algorithm is fully vectorized (matlab implementation, no for loop). Thus it is better...
Last.fm Artists is a Wordpress plugin that allows a user to display images of their top artists, recently lisetened to artists, and the artists of their recently loved tracks. It will download the images of the artists, resize them, and display...
Simple function for drawing a rectangle in a gray image. Good for beginners.
Often I have to extract a subset of a two-dimensional array for further analysis. Usually I do this with logical indexing. But most often the problem with logical indexing is that I get a column vector which I then have to reshape or index into a...
Last year, while using guide to build a GUI, I noticed that there is not a status bar component. So, since I knew how to create rectangles using patches, I thought I would try to create a status bar. I started by placing an axes inside the...
SIMPSON: Simpson's rule for quadratic and cubic numerical integration RES = SIMPSON(Y) computes an approximation of the integral of Y via Simpson's 1/3 rule (with unit spacing). Simpson's 1/3 rule uses quadratic interpolants for...
This function uses rectangle command to plot a circle. The center is to be given in a vector form and radius is a non-negative number.
Two functions for working with the Feret diameter of labelized particles in images.
The function imFeretDiameter computes the Feret diameter for each one of the specified directions. The maximal diameter can be obtained by computing the...
This function returns statistics on the intensity of an image, including the sum, mean, standard deviation, min and max. A rectangular region of interest can be selected by the user by using 'r' as the 2nd parameter. Alternatively, the region of...
This functions displays GUI for selecting square or rectangular part of the input image IMG. To perform selection user must click mouse twice: at two corners of the selection area. User can change the shape at any moment, even...
Makes it easy to get around plots and images: > click and drag to pan > double-click to re-center > shift-click to create rectangle to zoom into > mouse scroll wheel to zoom in/out
The Flickr WordPress Plugin works with jQuery and makes it easy to you, to add Flickr images to your WordPress posts or pages. Some flickr users offer their images under a Creative Commons license, so that they can be freely included in your blog...
In this code, the user selection the area of interest on an image, by dragging the rectangle of size specified in the code around the image by holding the left button of mouse and leaving the left button at a desired area. This program takes the...
This m file allows you to test if a point P is located in the area of a rectangle
ReadImageJROI - FUNCTION Read an ImageJ ROI into a MATLAB structure
Usage: [sROI] = ReadImageJROI(strFilename) [cvsROIs] = ReadImageJROI(cstrFilenames) [cvsROIs] = ReadImageJROI(strROIArchiveFilename)
This...
This plugin is designed to remove the focus rectangle on a link when clicked. It's very simple and effective.
# Installation :
This section describes how to install the plugin and get it working.
1. Upload the...
This demo plots a simple figure and a small rectangle (gray) area. The position of the area can be interactively moved and resized interactively (in a standard "windows" way). When the area is double clicked, the figure is zoomed... |