How to write a script that is the same as the function rem (remainder)?
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
Hi I have a project that needs me to write a script that returns the number of remainders given sets of numerators and denominators. Is there any hints to what I should consider as a whole or when using the commands (for, if, while)?
Thanks
0 Kommentare
Antworten (1)
Sindhu Priya
am 8 Mär. 2017
If the use case is to get the reminders for the set of numerators with each element from the set of denominator, then using any loop will suffice the requirement.
The reminders obtained can be stored in a matrix to return.
0 Kommentare
Siehe auch
Kategorien
Mehr zu Elementary Math finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!