Community Profile

photo

Johnny


Active since 2014

Followers: 0   Following: 0

Message

Statistics

  • Thankful Level 1

View badges

Feeds

View by

Question


Texas Hold'em Card Problem
<</matlabcentral/answers/uploaded_files/8341/1.jpg>> <</matlabcentral/answers/uploaded_files/8344/2.jpg>> <</matla...

10 years ago | 0 answers | 0

0

answers

Answered
Scale 3D matrix by 10i
% Create a indexes vector indexes = 1:P; % Make indexes array into individual pages n = reshape(indexes,1,1,P) %...

10 years ago | 0

Question


Scale 3D matrix by 10i
<</matlabcentral/answers/uploaded_files/7374/1.jpg>> M = randi([5 10], 1); N = randi([5 10], 1); P = randi([20 30], 1...

10 years ago | 3 answers | 0

3

answers

Answered
Extract numbers from Matrix and create a matrix
My answer for C : firstRow = diag(ans, 1)' secondRow = diag(ans, -1)' C = [firstRow; secondRow] Although it works....

10 years ago | 0

Question


Extract numbers from Matrix and create a matrix
An M-by-M matrix X is given. Without using loops, extract values from matrix X to create the following: <</matlabc...

10 years ago | 2 answers | 0

2

answers