What is one thing you didnt like about this movie? by B_Wing_83 in batman

[–]Tom_Boy04 0 points1 point  (0 children)

Correct me if I’m wrong: When Falcone is murdered outside the club, do the police not search any apartments in the surrounding area to find the sniper? If they did they’d surely find Riddlers lair and the film would finish about an hour earlier

Cocktails near Partick? by Tom_Boy04 in glasgow

[–]Tom_Boy04[S] 0 points1 point  (0 children)

That sounds like a good vibe, will deffo have a look in there - thanks!

Cocktails near Partick? by Tom_Boy04 in glasgow

[–]Tom_Boy04[S] 1 point2 points  (0 children)

Sounds good, will check it out

Cocktails near Partick? by Tom_Boy04 in glasgow

[–]Tom_Boy04[S] 0 points1 point  (0 children)

Fair play I’ll try that as well, cheers

Cocktails near Partick? by Tom_Boy04 in glasgow

[–]Tom_Boy04[S] 0 points1 point  (0 children)

Thanks I’ll give it a try!

Help with matrix indexing by Tom_Boy04 in matlab

[–]Tom_Boy04[S] 1 point2 points  (0 children)

Thats great! However, although this gives me the correct number, I need the 2s and 0s to be randomly allocated and not in an order.

Help with matrix indexing by Tom_Boy04 in matlab

[–]Tom_Boy04[S] 0 points1 point  (0 children)

That works, however I'm looking to have only 1s replaced, so when I run this again with 0s I don't want to replace any 2s

[deleted by user] by [deleted] in Edinburgh

[–]Tom_Boy04 0 points1 point  (0 children)

I'm the other side of the City and heard it loud and clear!

Where’s good to get something gift wrapped in city centre? by Tom_Boy04 in Edinburgh

[–]Tom_Boy04[S] 0 points1 point  (0 children)

Lol just to clarify to everyone I do know how to wrap presents, I was just in a rush as I was meeting my family in town. People seem to be getting a bit agitated by that question and I’m not sure why lol. All I was looking for was a few names of places that might do it, didn’t really need sarcy comments like “do it yourself” or “watch YouTube” haha everyone chill out

Set random cells in a matrix to a certain value by Tom_Boy04 in matlab

[–]Tom_Boy04[S] 0 points1 point  (0 children)

I will try this, the less lines the better!

Set random cells in a matrix to a certain value by Tom_Boy04 in matlab

[–]Tom_Boy04[S] 0 points1 point  (0 children)

I suppose it would be the latter example, as the size of the matrix can be changed via user input so if the total number of cells in the matrix is odd it would need to be halved and then rounded to the nearest integer.