What are the measures/scales on the colorbar in Hilbert spectrum?

8 ビュー (過去 30 日間)
Jan Ali
Jan Ali 2021 年 5 月 11 日
回答済み: Pratyush Roy 2021 年 5 月 25 日
When applying hht(imf,fs) we get Hilbert spectrum showing a colorbar on the right. What are those values/measures on the color bar and how can we obtain/calculate them?
Meanwhile, how can we customize the actual time on the x-axis, if offset is other than 0 (f.exp. 25-30s)?
Thanks in advance,

回答 (1 件)

Pratyush Roy
Pratyush Roy 2021 年 5 月 25 日
Hi Jan,
  1. The values available in the colorbar can be obtained by returning an output from the hht function. The code below shows how we can use the values from hht output in the form of a matrix.
hs = hht(imf,fs) % Returns a sparse matrix
h_full = full(hs) % Converts the sparse matrix to a dense matrix
The values that appear in the h_full matrix decide the values on the colorbar.
2. The hht documentation actually has examples where numeric outputs are used to obtain a plot that is different from the convenience plot offered when hht is called without an output.
Hope this helps!

カテゴリ

Help Center および File ExchangeCorrelation and Convolution についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by