This GUI is an updated and enhanced version of the “StructBrowser” utility submitted to MatLab Central in May 2003. It comes with new interface and an enhanced display. It uses Microsoft TreeView control to display and explore any kind of MatLab structures. The CRC ExploreStruct was designed to expose the contents of the array struct to any depth and Plot any of the components. This tool is very useful for programmers using structures in their code
Using an easy-to-follow format, this book explains the basics of MATLAB up front. You ll find out how to Plot functions, solve algebraic equations, and compute integrals. You ll also learn how to solve differential equations, generate numerical solutions of ODEs, and work with special functions. Packed with hundreds of sample equations and explained solutions, and featuring end-of-chapter quizzes and a final exam, this book will teach you MATLAB essentials in no time at all.
P3.18. An analog signal xa(t) = sin (100πt) is sampled using the following sampling intervals. In
each case Plot the spectrum of the resulting discrete-time signal.
Ts= 0.1 ms, Ts= 1 ms, Ts = 0.01 Sec
P3.20. Consider an analog signal xa (t) = sin (2πt), 0 ≤t≤ 1. It is sampled at Ts = 0.01, 0.05,
and 0.1 sec intervals to obtain x(n).
b) Reconstruct the analog signal ya (t) from the samples x(n) using the sinc interpolation
(use ∆ t = 0.001) and determine the frequency in ya (t) from your Plot. (Ignore the end
effects.)
C) Reconstruct the analog signal ya (t) from the samples x (n) using the cubic spline
interpolation and determine the frequency in ya (t) from your Plot. (Ignore the end effects.)
The radially averaged power spectrum (RAPS) is the direction-independent mean spectrum, i.e. the average of all possible directional power spectra. This function computes and Plots the RAPS of an input image. The function was written to produce the RAPS for square weather radar reflectivity images so you will have to relabel the Plot axes and title to suit your needs. The radially averaged power spectrum provides a convenient means to view and compare information contained in 2D spectra in 1D
H=CIRCLE(CENTER,RADIUS,NOP,STYLE)
This routine draws a circle with center defined as
a vector CENTER, radius as a scaler RADIS. NOP is
the number of points on the circle. As to STYLE,
use it the same way as you use the rountine Plot.
Since the handle of the object is returned, you
use routine SET to get the best result.
Description
Scientific calculator. Allows to perform caclulation with high precicion and implements most populatr mathematical functions: sin, cos, tan, asin, acon, atan, exp, log, sqr, floor and ceil. Also it make it possible to define your own function, store results in variables and use variable sin expressions. Calculator store al formuls you have entered. Plot function can be used to draw graph of function with single argument.
More detailed description of calculator is here.
Use
the fast Fourier transform function fft to analyse following signal. Plot the original signal, and the magnitude of its
spectrum linearly and logarithmically. Apply Hamming window to reduce the
leakage.
.
The hamming window can be coded in Matlab as
for n=1:N
hamming(n)=0.54+0.46*cos((2*n-N+1)*pi/N);
end;
where
N is the data length in the FFT.