To equate one value to another?
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Lev Mihailov
le 10 Juil 2019
Réponse apportée : Andrei Bobrov
le 10 Juil 2019
Hello! I have signal values (floating values) how do I equate them to the depth of this signal?
signal values 800 801 702 and up to 2000 depth is 14 15 11 and so on until 2000 what could I do then as a result 15 -5 and for my signal it will be like 800-264
Help me please!
4 commentaires
Réponse acceptée
Andrei Bobrov
le 10 Juil 2019
May be like this:
Let S - your signal.
m = min(S);
detph = 10/(max(S) - m)*(S - m) + 5;
0 commentaires
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Spectral Measurements dans Help Center et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!