How to calculate data with price rate for water consumption.
2 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Aman Kumar
le 17 Mai 2020
Réponse apportée : Christopher Stapels
le 18 Mai 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 commentaires
Réponse acceptée
Christopher Stapels
le 18 Mai 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 commentaires
Plus de réponses (0)
Communautés
Plus de réponses dans ThingSpeak Community
Voir également
Catégories
En savoir plus sur Prepare and Analyze Data 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!