This code computes the Stockwell transform (S-Transform) of a one dimensional series without for loop, thereby making it computationally fast and simple. S-Transform was proposed in 1996. A nice tutorial on S-Transform can be found here:
djj.ee.ntu.edu.tw/S_Transform.pdf
Baba Dash (2021). Stockwell Transform (S-Transform) (https://www.mathworks.com/matlabcentral/fileexchange/45848-stockwell-transform-s-transform), MATLAB Central File Exchange. Retrieved .
Inspired: Power Quality Disturbance Detection Using S transform, istran(S), Time frequency distribution of a signal using S-transform (stockwell transform), fdst( N, p )
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Create scripts with code, output, and formatted text in a single executable document.
I've got a scalar number!
give error
That gives an error: Matrix dimensions must agree (line 42)
My vector is a one-dimensional complex timeseries of u and v velocities based on the concept of a rotary spectra, as Stockwell has done recently in his paper inertial oscillations in surface winds. When I use your function there is no x and y labels so I don't know which is negative. Is there any way to turn the x and y labels on? Can this function work for a complex timeseries?
@Ayush : This code seems to output a result which is the conjugate of the one outputted from the original Code by Robert Glenn Stockwell http://www.codeforge.com/read/33451/st.m__html.
may i know how do u plot the magnitude? i got a strange plot when using abs(ST)
hi Baba Dash.can you please provide email?i need to confirm few urgent things.Thank you.
Works great once, but you may need to transpose the input. The result is a large matrix that can easily over-run you RAM. I had to decimate() my input.
The output is complex, so to get the magnitude plot in the picture you'll need to take the mag() or abs() of the result.
Hello
I want to know the parameters that affect the time-frequency resolution for S_transform.
thanks
fine
Dear Mr
I want to draw the frequency spectrum of non stationary transient signal
Did S-transform can be effective in it?
thanks
hello how can i extract satistatical parameteres from The ST matrix
why cant i find the code??
why cant i fond the code??
I CAN NOT GET THE RESULT
I don't get the same result as from the original Code by Robert Glenn Stockwell http://www.codeforge.com/read/33451/st.m__html please correct the code accordingly.
no reference, and most importantly, no useful help or internal documentation.
Praveen: The ST matrix is a matrix of complex numbers the magnitude and phase of which can be used as features. Other statistical parameters can also be considered depending on their necessity.
What kind of features can be extracted after getting the S-transform Matrix?
Thank you
Thank you Baba Dash, useful neat code!
good code
can u plz provide inverse of s-transform
Is there also a fast inverse S transform ?
Can this be extended to 2 dimensions?
How to use this code to simulate power signal generated by DFIG model in Simulink