idst(a)

Calculate the inverse sine transform of vector 'a'.
88 Downloads
Updated 23 Feb 2015

View License

function out = idst(a)
% IDST calculate the inverse sign transform of vector a.
y = zeros(length(a)+1,1);
N = length(y);
for m = 1:length(a)
y = y + a(m) * sin(m * pi * (0:N-1)' / (N - 1));
end
out = y;
end

Cite As

Koorosh Gobal (2026). idst(a) (https://uk.mathworks.com/matlabcentral/fileexchange/49799-idst-a), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2014a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Numerical Integration and Differential Equations in Help Center and MATLAB Answers
Version Published Release Notes
1.0.0.0