Question: matlab Problem #3-Troubleshooting Practice Prahlem Statement: The following script file is inlended to figure out the result of element by element multiplication on two matrices

matlab
Problem #3-Troubleshooting Practice Prahlem Statement: The following script file is inlended to figure out the result of element by element multiplication on two matrices A and B without using the element by element MATLAB operator. The program also keeps track of the number of the number oftimes an element by element operation results in a number greater then 15 or a number less then 5 with two sepurute cunters The program then displays tle values of the ne mati and te counters aaand bh in the command window. However the script ile in its current state does not run properly and contains errors Find all errors nd rewrite incorrect lines below in the space provided. 1 clear 2 cle 3 cloae 4 A-17 3: 9 2 6: 1 0 51 6 (rew, col-length(C) 8 for i 1:A 10 c zeros(Row, Col) for jj1: 12 13 14 16 17 18 20 disp(C,aa,bb) Line # Line Correction 2/2
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
