This solution is outdated. To rescore this solution, sign in.
-
3 Comments
Steven He
on 25 Aug 2016
How can be a smaller size? tf = rem(n,2)
SIVAPRAKASH DANABALASINGAM
on 10 Jan 2017
good job
Chris Armstrong
on 14 Nov 2019
I don't think that simply using tf=rem(n,2) should be allowed, its implicit casting which isn't a good thing to depend on.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!