data scaling from sensor
3 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
MUHAMMAD AMMAR MASDIM
el 1 de Dic. de 2017
Respondida: Madhu Govindarajan
el 1 de Dic. de 2017
Hi guys,I have the data from arduino that give me reading of 266 to 400, i want to convert this data into 0 to 180.Im kind of stuck at the block parameter because I don't know how to set the representable maximum and minimum?
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/170509/image.png)
0 comentarios
Respuestas (1)
Madhu Govindarajan
el 1 de Dic. de 2017
What you need is the 1-D lookup table https://www.mathworks.com/help/simulink/slref/1dlookuptable.html
or just the linear interpolation equation slope and intercept values.
0 comentarios
Ver también
Categorías
Más información sobre Arduino Hardware en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!