Professional Documents
Culture Documents
Output:
(YOUR_FIRST_NAME_Q2) Q2/ Write a MATLAB script to find the sum and the number
of the even and odd numbers in a 𝑁 × 𝑀 matrix entered by the user.
1 2 3 4
For example, if the input is [ ]
5 5 5 5
Output:
(YOUR_FIRST_NAME_Q3) Q3/ Write a MATLAB script to find the sum and the number
of the odd negative numbers in a 𝑁 × 𝑀 matrix entered by user.
−8 −7 −6 −5
For example, if the input is [−1 −2 −3 −4]
1 2 3 4
Output:
(YOUR_FIRST_NAME_Q4) Q4/ Write a MATLAB script to find the multiplies of the even
numbers of any 𝑁 × 𝑀 matrix entered by the user.
−8 −7 −6 −5
For example, if the input is [−1 −2 −3 −4]
1 2 3 4
Output: