idst(a)

Calculate the inverse sine transform of vector 'a'.
84 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 (2024). idst(a) (https://www.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

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
1.0.0.0