How do i write this or represent this on matlab editor , i am new to it

3 Ansichten (letzte 30 Tage)
If 5-mod(G,5)<=2 Then
G= 60
CG = G + 5-mod(G,5) else
CG = ceil(G,1).

Antworten (1)

Voss
Voss am 6 Mai 2022
if 5-mod(G,5)<=2
G= 60
CG = G + 5-mod(G,5)
else
CG = ceil(G,1)
end

Kategorien

Mehr zu Software Development Tools finden Sie in Help Center und File Exchange

Tags

Produkte


Version

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by