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

3 visualizaciones (últimos 30 días)
If 5-mod(G,5)<=2 Then
G= 60
CG = G + 5-mod(G,5) else
CG = ceil(G,1).

Respuestas (1)

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

Categorías

Más información sobre Software Development Tools en Help Center y File Exchange.

Etiquetas

Productos


Versión

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by