Question: I am coding a program for matlab based on battleship. I need to write a function that randomly places 4 ships of different sizes in

I am coding a program for matlab based on battleship. I need to write a function that randomly places 4 ships of different sizes in a 9x9 matrix, as well as have 3 difficulty levels for the computer. how should one go about this? Thanks!

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!