assigning a variable for a specific time

4 次查看(过去 30 天)
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.

采纳的回答

aswathy pavithran
aswathy pavithran 2019-10-24
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

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Programming 的更多信息

标签

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by