Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

I don\'t know why on line 34. It continues told me it\'s error. What\'s the corr

ID: 3906522 • Letter: I

Question

I don't know why on line 34. It continues told me it's error. What's the correct way to code it? also another picture is

Names2 element.

Users , yìc 16 Desktop , ENG11331 1331Midtermí ReviewSession Editor- C: Userslyic16 Desktop ENG113311 1331Midterm1ReviewSession Untitled3.m ntitledmx MAZ ychen221.m Value 26x1 d 26r1 d 26x1 d 26x3 d 26x1 d view Session Problem.pdf 19 20 21- [M2, L2]x (A4 (:,3)): fprintt('inThe % has the high fprintf(' The %s has the highest percentage of the on target reading rate-, schoolN fprintf(' The %s has the highest percentage of the above average reading-", school-Names(L)); Al est percentage of the lowest reading rate.., school-Names (L)); ?? - ?A4 24 [H4,L41-tind (A4 ( 1,1 ) >0.30) ; MS, L6]find (A4:,3) 0.20) 1,7-size (MS) ; 26 27- L5-size (M4) ; 28 fprintf ('NnThere are so.0r schools in disctirct are underperformed. ,L5(:, 1)) 29 30 31 32 12 12 tprint f(' There are to. or schools in districe $(MB, L91-find (A4( : , 1) >?. 30, A4 (-, 3) >0.20) ; AL10-size (L9) : are outstand performing ..,L7(:,i)); 19,1] 12x1 d [12,11 0.5658 0.7228 0.3077 [5,7:10 2r1 d Oxt str 26 L7 Names2 school Name (MA:, 1)) M1 M2 34 dlmwrite ('Undezpetforming Schoo1a.mat' , Name s2); 35 36 M5 38 Reading Data 26d d Command Window School Names2ür1 st The Ward Elementary has che highest percentage of the above average reading There are 9?chools in disctirct are underperformed There are 12 achools in disttice are outstand performing.Undefined function 'zeal' for input argumenta of type 's EFrOH n dinxrite (linel 191) st sprint f('%."g +."gi,,precn, real(m(1.3) ) ,preen, imag(m(1,5))); " Error in Untitleda (Line ssi dinazite('Undexpe:forming Schools.mat',Names2): search

Explanation / Answer

Errors in line 34.

The possible solution to the problem is to use save command instead of dlmwrite().

You can use following syntax instead of dlmwrite() to save the Names2 variable as .mat file

save('Underperforming_Schools.mat', 'Names2');

Please ensure that name of the mat file which you want to create and the name of the variable which you want to save must be enclosed in single quotes.

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Chat Now And Get Quote