Hi, I am new to matlab and i have been asked to create a function that takes a number as an input, and returns logical 1 for true if the input arguement is divisible by 4 and false if not thanks

2 visualizaciones (últimos 30 días)
Hi, I am new to matlab and i have been asked to create a function that takes a number as an input, and returns logical 1 for true if the input arguement is divisible by 4 and false if not
thanks

Respuestas (1)

madhan ravi
madhan ravi el 1 de Feb. de 2021
Let’s start:
help function
help mod
help if

Categorías

Más información sobre Matrix Indexing en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by