How do I fprintf certain numbers from a matrix?
显示 更早的评论
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?
采纳的回答
更多回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Logical 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!