Changing the quantization range while using 'uencode'
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
Siddharth Gopujkar
am 12 Sep. 2020
Beantwortet: Siddharth Gopujkar
am 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 Kommentare
Akzeptierte Antwort
Ameer Hamza
am 12 Sep. 2020
Use rescale()
x = rand(1, 10);
y = uencode(x, 3);
y_new = rescale(y, -10, 10);
0 Kommentare
Weitere Antworten (1)
Siehe auch
Kategorien
Mehr zu Timing and presenting 2D and 3D stimuli finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!