|Code Listing by Nobuhito Mori|
This .m function transforms camera captured image to planer (x,y,depth) plain using perspective transformation. This program requires MATLAB and Image Processing Toolbox.
- Input image must be RGB color image
- (x,y) axes are horizontal coordinates
- and z is vertical axis upward direction.
This very simple m-function computes cross spectrum, coherence and phase at the same time. The input parameters are equivalent to pwelch.n or csd.m in MATLAB and use csd.m in the singal toolbox.
It's very simple but useful for engineers.
The datetick doesn't work well for plotyy due to two different axis properties. This script use for plotyy instead of datetick with one more input as
% haxes = plotyy(x1,y1,x2,y2)