function y_cum = cum2x (x,y, maxlag, nsamp, overlap, flag)
%CUM2X Cross-covariance
% y_cum = cum2x (x,y,maxlag, samp_seg, overlap, flag)
% x,y - data vectors/matrices with identical dimensions
% if x,y are matrices, rather than vectors, columns are
% assumed to correspond to independent realizations,
% overlap is set to 0, and samp_seg to the row dimension.
% maxlag - maximum lag to be computed [default = 0]
% samp_seg - samples per segment [default = data_length]
% overlap - percentage overlap of segments [default = 0]
% overlap is clipped to the allowed range of [0,99].
A series of .c and .m files which allow one to perform univariate and bivariate wavelet analysis of discrete time series. Noother wavelet package is necessary -- everything is contained in this archive. The C-code computes the DWT and maximal overlap DWT. MATLAB routines are then used to compute such quantities as the wavelet variance, covariance, correlation, cross-covariance and cross-correlation. Approximate confidence intervals are available for all quantities except the cross-covariance and cross-correlation.
A set of commands is provided. For a description of this example, please see http://www.eurandom.tue.nl/whitcher/software/.
Problem Statement
You are given a string input. You are to find the longest substring of input such that the reversal of the substring is also a substring of input. In case of a tie, return the string that occurs earliest in input.
Definition
Class: ReverseSubstring
Method: findReversed
Parameters: string
Returns: string
Method signature: string findReversed(string input)
(be sure your method is public)
Notes
The substring and its reversal may overlap partially or completely.
The entire original string is itself a valid substring (see example 4).
Constraints
input will contain between 1 and 50 characters, inclusive.
Each character of input will be an uppercase letter ( A - Z ).
Examples
0)
"XBCDEFYWFEDCBZ"
Returns: "BCDEF"
We see that the reverse of BCDEF is FEDCB, which appears later in the string.
1)
The AVRcam source files were built using the WinAVR distribution
(version 3.3.1 of GCC). I haven t tested other versions of GCC,
but they should compile without too much difficulty.
* The source files for the AVRcam had the author name and copyright
information added back into them after the judging of the project,
since it states in the competition rules that the author s name
can not be present during their inspection.
* The included source files are the ones that were submitted for
the entry into the Circuit Cellar contest. I have continued to
develop the AVRcam, and have added several new features (such as
ignoring objects that aren t larger than a minimum size, removing
tracked objects that overlap with each, and some general
optimizations). If you are interested in the latest source,
email me at john@jrobot.net
* For more info about the AVRcam, check out http://www.jrobot.net
John Orlando
August 20, 2004
Fast Fourier Transform power point
The rectangular window introduces broadening of any frequency components [`smearing鈥? and sidelobesthat may overlap with other frequency components [`leakage鈥?.
鈥he effect improves as Nincreases
鈥owever, the rectangle window has poor properties and better choices of wncan lead to better spectral properties [less leakage, in particular] 鈥搃.e. instead of just truncating the summation, we can pre-multiply by a suitable window function wnthat has better frequency domain properties.
鈥ore on window design in the filter design section of the course