How to calculate data with price rate for water consumption.
3 ビュー (過去 30 日間)
古いコメントを表示
Aman Kumar
2020 年 5 月 17 日
回答済み: Christopher Stapels
2020 年 5 月 18 日
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 件のコメント
採用された回答
Christopher Stapels
2020 年 5 月 18 日
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 件のコメント
その他の回答 (0 件)
コミュニティ
その他の回答 ThingSpeak コミュニティ
参考
カテゴリ
Help Center および File Exchange で Prepare and Analyze Data についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!