Question

110,67 235, J EL LLOU Check Show answer 3) Suppose testData is an 8 x 8 array and deleteIdx is a 1 x 9 row array of integers
0 0
Add a comment Improve this question Transcribed image text
Answer #1

(I'm assuming this question is for matlab/octave program.)

Answer: 55x1

Explaination: command testdata(deleteIndex) = [] will flatten matrix of (8x8) into a column vector of (64x1) and then delete values of 9 indexes(which are in deleteIndex).(i.e. 64-9 = 55). So, finally testData will be a column vector of (55x1).

More information:
https://in.mathworks.com/matlabcentral/answers/156990-delete-some-matrix-elements#answer_153526
https://in.mathworks.com/company/newsletters/articles/matrix-indexing-in-matlab.html?s_tid=answers_rc2-1_p4_BOTH

Add a comment
Know the answer?
Add Answer to:
110,67 235, J EL LLOU Check Show answer 3) Suppose testData is an 8 x 8...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT