Changing the quantization range while using 'uencode'
2 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Siddharth Gopujkar
el 12 de Sept. de 2020
Respondida: Siddharth Gopujkar
el 12 de Sept. de 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 comentarios
Respuesta aceptada
Ameer Hamza
el 12 de Sept. de 2020
Use rescale()
x = rand(1, 10);
y = uencode(x, 3);
y_new = rescale(y, -10, 10);
0 comentarios
Más respuestas (1)
Ver también
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!