assigning a variable for a specific time
4 views (last 30 days)
Show older comments
Ayesha Madhushani
on 24 Oct 2019
Commented: Ayesha Madhushani
on 25 Oct 2019
hello everyone.Im doing a project based on water meter billing system.i need to assign a variable for the total amount of water for a specific time.
0 Comments
Accepted Answer
aswathy pavithran
on 24 Oct 2019
initialize a variable like A to zero;
A(1:300)=0;
t1=1; initial time period
t2=300; final time period;
here we have initialised a column for storing water variable;
u can store the values in A according to ur projet using for loop or in some other way
More Answers (0)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!