Sherman Ng
Followers: 0 Following: 0
Feeds
提问
What to do with for-while loop?
The question is "Create the matrix based on the probabilities [0.125 0.125 0.125 0.125 0.125 0.125 0.125 0.125] until you get t...
2 years 前 | 1 个回答 | 0
1
个回答提问
How to do inverse tranform in dice throw simulate?
Hi so I'm trying to simulated loaded dice throw and do a inverse transform, here's my code so far: a = [0.125 0.125 0.125 0...
2 years 前 | 0 个回答 | 0
0
个回答提问
Output doesn't seem right
Hi, so this is the output that I have so far, but the question has T-i and T-0 variables and I'm not sure what to do wit...
2 years 前 | 1 个回答 | 0
1
个回答提问
Output doesn't seem to be correct
Hi so this is the polynomial question that I've been stuck on for a while, this is what I have so far but apparently my ou...
2 years 前 | 1 个回答 | 0
1
个回答提问
I'm not sure about the objective of this question
I'm not sure about what the objective of the question. I assume that the polynomial coefficient vector means that I should...
2 years 前 | 0 个回答 | 0
0
个回答提问
How to replace letters with numbers in matrix
Hi, so I would like to replace A with 4, B with 3, C with 2, D with 1, and F with 0 in this matrix, here is the code that I have...
3 years 前 | 1 个回答 | 0
1
个回答提问
Matrix value multiplication error
Hi, so I'm trying to get the n values to multiply each values in the P matrix in order to get the compound interest values, bu...
3 years 前 | 1 个回答 | 0
1
个回答提问
Getting a compound matrix to work
So my goal is to: Create a matrix with four columns: the first column contains the principal amount that is deposited in a bank,...
3 years 前 | 1 个回答 | 0
1
个回答提问
How do I create this matrix?
Apparently this is supposed to be 4 separate blocks, two of them diagonal and two of them constant. So should I do something lik...
3 years 前 | 1 个回答 | 0
1
个回答提问
How do I create this diagonal matrix?
This is matrix that I have to create, I can see that there's a +5 pattern but I don't know how to add the constant.
3 years 前 | 1 个回答 | 0