assigning a variable for a specific time

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.

 采纳的回答

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 个)

类别

帮助中心File Exchange 中查找有关 Physics 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by