assigning a variable for a specific time

5 Ansichten (letzte 30 Tage)
Ayesha Madhushani
Ayesha Madhushani am 24 Okt. 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.

Akzeptierte Antwort

aswathy pavithran
aswathy pavithran am 24 Okt. 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

Weitere Antworten (0)

Kategorien

Mehr zu Physics finden Sie in Help Center und File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by