Changing the quantization range while using 'uencode'
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Siddharth Gopujkar
le 12 Sep 2020
Réponse apportée : Siddharth Gopujkar
le 12 Sep 2020
While using 'uencode', the quantization takes place in steps of 1 starting from 0 (y-axis). How can I change this to, let's say, -10 to 10?
0 commentaires
Réponse acceptée
Ameer Hamza
le 12 Sep 2020
Use rescale()
x = rand(1, 10);
y = uencode(x, 3);
y_new = rescale(y, -10, 10);
0 commentaires
Plus de réponses (1)
Voir également
Catégories
En savoir plus sur Timing and presenting 2D and 3D stimuli dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!