Re: fourier descriptors - plotting shapes
- From: Daniel Drucker <ddrucker@xxxxxxxxxxxxxxx>
- Date: Wed, 08 Nov 2006 17:03:56 EST
I got it!
function [ theta ] = cumubend( t, FD )
%cumubend cumulative angular bend function.
% cumubend(t,FD) is the theta value of the
% cumulative angular bend function at t
theta = -t;
for freq = 1:length(FD(:,1)),
amp = FD(freq,1);
phase = FD(freq,2) / 360 * 2 * pi;
theta = theta + amp * cos(freq * t - phase);
end
Daniel Drucker
.
- References:
- Re: fourier descriptors - plotting shapes
- From: Daniel Drucker
- Re: fourier descriptors - plotting shapes
- Prev by Date: Re: BSD Conjecture
- Next by Date: Re: A very general question relating to Cryptography
- Previous by thread: Re: fourier descriptors - plotting shapes
- Next by thread: Minimization of a Functional
- Index(es):