Write a MATLAB script to find and display how many values ar
Write a MATLAB script to find and display how many values are less than 10 within the following matrix.
12 5 9 0 18-6 2 34 56 1 -2 1 88 2 32 -12 1 -8 1354 239 10 45 21 6 9 15 61 8 5 16 06 21 73 0 186 88 2 32 -121-8 A=Solution
A=[12,5,9,0,18,-6; 2,34,56,1,-2,15;88, 2, 32,-12,1,-8;13,-54,23,9,10,45;21,6,9,15,61,8; 5,16,0,6,21,73] // displays the matrix
B=A<10 // displays the positions of numbers digitally in 1 (no.s less than 10) and 0 (no.s greater than 10)
A(B) // displays all the elements less than 10
C= [A(B)] // C matrix is assigned to such array
n= numel(C) // counts the elements in the array
