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
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.