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?
1 次查看(过去 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 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!