Community Tip - Visit the PTCooler (the community lounge) to get to know your fellow community members and check out some of Dale's Friday Humor posts! X
Hello,
I have the vector from the attached file with the input data.
I need to do both the sum and the total number of all positive elements from N22 (only positive). How can i do this?
Thank you,
Otilia
Solved! Go to Solution.
For whatever it may be worth here is a slightly shorter approach
Hello,
I managed to get the results I wanted for a larger matrix (see attached) with the help from both of you and it is greatly appreciated.
What i still don't understand is the functions you used for sum and count. For count you used the 'vector sum' function, for sum it's some sort of product. No wonder with the vector sum i couldn't get anywhere when i started this exercise. Why?
Thank you,
Otilia
It makes sense now.
Thank you.