linux-80211n-csitool-supplementary
linux-80211n-csitool-supplementary copied to clipboard
the 'db' function belongs to the signal package from Octave Forge but has not yet been implemented.
I am using octave version 4.2.2 and was trying to execute "csi = get_scaled_csi(csi_entry); " command which gave me a warning which states , " the 'db' function belongs to the signal package from Octave Forge but has not yet been implemented." followed by few errors given below-
" error: 'db' undefined near line 21 column 11 error: called from get_total_rss at line 21 column 9 get_scaled_csi at line 12 column 14 "
It seems that db function does not implemented in octave signal package. Is there any way to make that command work on octave?
Im getting the same error, knowing that I've been using the tool since more than a year and it's only now that I got this error.
@chinmoy009 @mirasarkis Did you find a solution? We are facing the same issue. Any luck on the problem?
I believe that db refers to decibel. The function db, as called in the csi tool, aims at transforming power ratios into decibel.
So, I just created a function called db that returns10*log(power/1).
Hope this helps. Mira
Le ven. 27 juil. 2018 à 04:43, Sidharth Panicker [email protected] a écrit :
@chinmoy009 https://github.com/chinmoy009 @mirasarkis https://github.com/mirasarkis Did you find a solution? We are facing the same issue. Any luck on the problem?
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/dhalperi/linux-80211n-csitool-supplementary/issues/393#issuecomment-408294578, or mute the thread https://github.com/notifications/unsubscribe-auth/AFV41JhtKepX5jValkwgfjTPlBo_dy0dks5uKn43gaJpZM4U9IV3 .
Hi @mirasarkis , can you elaborate a little? From what I understand, csi_trace struct contains 29 elements which have 29 objects each with every object being a 3x3 matrix. How to exactly calculate the db? Is there any equivalent function in Octave?
@Mandar-Kulkarni based on this documentation we can implement a function that returns the decibel value, which is 10*log(x/1) for power.