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

3 visualizzazioni (ultimi 30 giorni)
If 5-mod(G,5)<=2 Then
G= 60
CG = G + 5-mod(G,5) else
CG = ceil(G,1).

Risposte (1)

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

Categorie

Scopri di più su Software Development Tools in Help Center e File Exchange

Tag

Prodotti


Release

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by