Create program code for a function file “quantity A” which generalizes the function from 3a), takes as input a table (matrix) “A” and a number “t”, and returns the quantity of numbers in the table “A” which is equal to the number ” t ”.
A) Create a program code for a function file “quantity” which takes as input one vector “v” and a number “t”, and returns the quantity of numbers in the vector “v” which is equal to the number “t” (Example: quantity t ([2 1 2 3 2], 2) = 3). Your code must begin with function […]