How do I fprintf certain numbers from a matrix?
Ältere Kommentare anzeigen
function [ ] = leapyears(startyear,endyear) arrayYears = [startyear:endyear] checkYears = rem(arrayYears,4)
After this is run it gives me an array. I want to fprintf the inputs that give me 0. how would I go about doing that?
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu Mathematics finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!