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 view (last 30 days)
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)

Categories

Find more on Files and Folders in Help Center and File Exchange

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!