how can i write code on this?
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
PLACEIUS NISHIGA G
le 16 Jan 2018
Réponse apportée : Birdman
le 16 Jan 2018
if true
f (a, b) = { 0, if a mod b = 0
{ b − (a mod b), otherwise
end
0 commentaires
Réponse acceptée
Birdman
le 16 Jan 2018
a=input('Enter a\n');
b=input('Enter b\n');
if ~mod(a,b)
y=0
else
y=b-mod(a,b)
end
0 commentaires
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Motor Drives dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!