repo.or.cz
/
wrf-fire-matlab.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
history
|
raw
|
HEAD
Merge branch 'femwind-inv3-fix' into femwind
[wrf-fire-matlab.git]
/
fft
/
dst.m
blob
e734cff554f063eb2bbbafebcc3ee1ea14bfd184
1
function Y = dst(X)
\r
2
% Y = dst(X)
\r
3
% apply sine transform to columns of X
\r
4
[n,m] = size(X);
\r
5
X1 = [ zeros(1,m); X ; zeros(n+1,m) ];
\r
6
X2 = imag( fft(X1) );
\r
7
Y = X2 (2:n+1,:);
\r