Hello I need to write a function that the file name is count(a,b,c) to count how many positive number . what i have to write?
2 次查看(过去 30 天)
显示 更早的评论
For example if I put function [P]= count(a,b,c) and from command window i type count(3,4,-1) I will get 2 since 3 and 4 positive
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Standard File Formats 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!