Community Profile

photo

Louis Grainger


Last seen: 3年弱 前 2021 年からアクティブ

Followers: 0   Following: 0

統計

  • Thankful Level 3

バッジを表示

Feeds

表示方法

質問


check array for zeros using for increment
I am trying to create a game of battleship, given an array populated by zeros, when a value is changed (places a ship), I want t...

3年弱 前 | 1 件の回答 | 0

1

回答

質問


Incremental conditions for if statement
I'm trying to return an invalid message for any value not inside the parameters. Given this for loop with an embedded while and...

約3年 前 | 1 件の回答 | 0

1

回答

質問


Adding a string value to an array.
Given an array of zeros like so.... 0 0 0 0 0 0 0 0 0 0 0 0 Using something like if something = ...

約3年 前 | 1 件の回答 | 0

1

回答

質問


Displaying arrays alongside fprintf() text.
Given an array, say 5x5 populated with 0's 0 0 0 0 0 0 0... so on Using disp(array) you are unable to define the spaces betwe...

約3年 前 | 1 件の回答 | 0

1

回答

質問


Displaying an array of zeroes.
given: A = zeros([10, 10]) using the disp(x) function the output is not reminiscent of a square due to the horizontal spaces b...

約3年 前 | 1 件の回答 | 0

1

回答

質問


Adding value to a vector
Function for using a 'for' loop to add 5 differing values to the vector h. Currently the latter input overwrites the previous. ...

約3年 前 | 1 件の回答 | 0

1

回答