Community Profile

photo

roshan varkey


Actif depuis 2013

Followers: 0   Following: 0

Contact

Statistiques

  • Thankful Level 3

Afficher les badges

Feeds

Afficher par

Question


how to label a point on a graph?
for an assignment after plotting a line on a graph ,i have been asked to label two point 'A' and '4'.I couldnt find anything in ...

presque 10 ans il y a | 1 réponse | 0

1

réponse

Question


i have a some problem with the code i wrote for a while loop and cant't figure it out.can someone look at it and tell me where i went wrong?
i have attached a file with the code in it,this is only a small bit of my batlleship game code. i this attached code,i have a m...

plus de 10 ans il y a | 1 réponse | 0

0

réponse

Question


how to check if two arrays intersect within a matrix?
i have a 10x10 matrix of zeros. three ships called destroyer,aircraft_carrier and cruiser: destroyer=[2,2] %placed eithe...

plus de 10 ans il y a | 1 réponse | 0

1

réponse

Question


help with a matlab code
i have this particular code: Board = zeros(10); ALPHArange = 'A':'J'; Drow = ALPHArange(randi(numel(ALPHArange))); ...

plus de 10 ans il y a | 1 réponse | 0

1

réponse

Question


how to prevent interesection of arrays within a matrix?
sorry the question is a bit abstract .i am making a battleship game on a 10x10 matrix. the user has to type in coordinate in (al...

plus de 10 ans il y a | 1 réponse | 0

0

réponse

Question


how to avoid intersecting array within a a matlab?
sorry the question is a bit abstract .i am making a battleship game on a 10x10 matrix. the user has to type in coordinate in (al...

plus de 10 ans il y a | 1 réponse | 0

0

réponse

Question


how to perform matrix manipulation for a game of battle ship?
sorry the question is a bit abstract .i am making a battleship game.on a 10x10 matrix.the user has to type in coordinate in (...

plus de 10 ans il y a | 1 réponse | 0

1

réponse

Question


how to randomly generate an alphabet within a given range ?
i want to randomly generate an alphabet between a given range,for example a range of A-J,and i want matlab to pick a alphabet be...

plus de 10 ans il y a | 4 réponses | 1

4

réponses

Question


how to add headers to a matrix?
i have a matrix 10x10 of zeros under the name play_space......and i would like to name the rows A-J and columns 1-10,so the when...

plus de 10 ans il y a | 1 réponse | 0

1

réponse

Question


for a battleship program:how to place a ship of given unit length randomly on a matrix of 10x10?
i g=have to make a battleship game in matlab using matrices. i made a grid using play_space=zeros(10) i made a ship destro...

plus de 10 ans il y a | 1 réponse | 0

1

réponse

Question


for a battleship program:how to place a ship of given unit length randomly on a matrix of 10x10?
i have to make a program for the game battleship (computer vs user) and i made a matrix and ships of different unit lengths: ...

plus de 10 ans il y a | 1 réponse | 0

1

réponse

Question


how can i place an array a= [2,2,2] randomly (vertically or horizontally) into a matrix b=zeros(10x10) ?
how can i place an array a= [2,2,2] randomly (vertically or horizontally) into a matrix b=zeros(10x10) ?

plus de 10 ans il y a | 1 réponse | 1

1

réponse