idst2(A)
function out = idst2(A)
% Calculate the inverse sine transform of 2D matrix A
N = length(A) + 1;
U = zeros(N,N);
for i = 1:N
for j = 1:N
holder = 0;
for m = 1:length(A)
for n = 1:length(A)
holder = holder + ...
A(m,n) * ...
sin(pi * m * (i-1) / (N - 1)) * ...
sin(pi * n * (j-1) / (N - 1));
end
end
U(i,j) = holder;
end
end
out = U;
Cite As
Koorosh Gobal (2024). idst2(A) (https://www.mathworks.com/matlabcentral/fileexchange/49865-idst2-a), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
- Signal Processing > Signal Processing Toolbox > Transforms, Correlation, and Modeling > Transforms >
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Version | Published | Release Notes | |
---|---|---|---|
1.0.0.0 |