Home > freetb4matlab > irsa > irsa_genreal.m

irsa_genreal

PURPOSE ^

% [@var{yp,fxp,fyp}] = irsa_genreal (@var{xp}, @var{amp}, @var{phi})

SYNOPSIS ^

function [yp, fxp, fyp] = irsa_genreal( xp, amp, phi )

DESCRIPTION ^

% -*- texinfo -*-
% @deftypefn {Function File} {irsa_genreal.m}
% [@var{yp,fxp,fyp}] = irsa_genreal (@var{xp}, @var{amp}, @var{phi})    
% 
% Generate values for a real-valued band-limited timeseries at the
% sampling points @var{xp} with amplitudes @var{amp} and phases
% @code{2*@var{pi}*@var{phi}}   
% 
% Input:
%
% @var{xp}  : Vector -- sampling points 
%
% @var{amp} : Vector -- positive amplitudes of the spectrum
%
% @var{phi} : Vector -- positive phases of the spectrum in @code{rad /
% 2*@var{pi}}.
% 
% Output:
%
% @var{yp}  : Columnvector -- sampling values
% 
% @var{fxp} : Columnvector -- frequency points
%
% @var{fyp} : Columnvector -- frequency values
%
% @emph{Note:}
% 
% If @var{xp} doesn't start at 0 the spectrum will be phase
% shifted. The function assumes, that this phase shift is neglected when
% giving the spectrum in @var{amp} and @var{phi}, but computes the
% correct phase shifted values in @var{fyp}.
% @end deftypefn

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:
Generated on Sat 16-May-2009 00:04:49 by m2html © 2003