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 views (last 30 days)
Show older comments
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
Answers (0)
See Also
Categories
Find more on Workspace Variables and MAT-Files in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!