How to calculate data with price rate for water consumption.
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
Aman Kumar
el 17 de Mayo de 2020
Respondida: Christopher Stapels
el 18 de Mayo de 2020
I am looking for a code for matlab analysis of my data, I want to calculate water bill for every 100 litre=1USD, for 1 month. So that the user can get total water consumption bill at the end of the month. Please help.
7 comentarios
Respuesta aceptada
Christopher Stapels
el 18 de Mayo de 2020
This sounds like a very interesting project. I wonder what sensor you are using to track the water consumption.
It sounds like you need help with the sprintf function. This line seems to be missing a format specifier.
alertBody = sprintf("The Water consumption bill is", 5* (meter_reading/1000));
0 comentarios
Más respuestas (0)
Comunidades de usuarios
Más respuestas en ThingSpeak Community
Ver también
Categorías
Más información sobre Read Data from Channel 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!