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

This is matlab, no loops, just simple matlab please neededArray = 25 25 25 25 25

ID: 3910304 • Letter: T

Question

This is matlab, no loops, just simple matlab please

neededArray =

25 25 25 25 25 25 25 25 25 25 25 25 25
25 25 25 25 25 25 25 25 25 25 25 25 25
25 25 25 25 25 25 25 25 25 25 25 25 25
25 25 25 25 25 25 25 25 25 25 25 25 25
25 25 25 25 25 25 25 25 25 25 25 25 25
25 25 25 25 25 25 25 25 25 25 25 25 25
25 25 25 25 25 25 25 25 25 25 25 25 25
25 25 25 25 25 25 25 25 25 25 25 25 25
25 25 25 25 25 25 25 25 25 25 25 25 25
25 25 25 25 25 25 25 25 25 25 25 25 25
25 25 25 25 25 25 25 25 25 25 25 25 25

neededArray is a 13x11 array.

number = 50

I want to insert number to look like this:

neededArray =

25 25 25 25 25 25 25 25 25 25 25 25 25
25 50 50 50 50 50 50 50 50 50 50 50 25
25 50 50 50 50 50 50 50 50 50 50 50   25
25 50 50 50 50 50 50 50 50 50 50 50 25
25 50 50 50 50 50 50 50 50 50 50 50   25
25 50 50 50 50 50 50 50 50 50 50 50 25
25 50 50 50 50 50 50 50 50 50 50 50   25
25 50 50 50 50 50 50 50 50 50 50 50   25
25 50 50 50 50 50 50 50 50 50 50 50   25
25 50 50 50 50 50 50 50 50 50 50 50   25
25 25 25 25 25 25 25 25 25 25 25 25 25

Explanation / Answer

B(1:11,1:13)=25 %this your array B
B(2:10,2:12)=50 %and simply change column values of 2'nd column to 12'th column of 2'nd to 10'th rows....
%That's it...Hope, it helps you.Tank you

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote