Community Profile

photo

Sherman Ng


Last seen: 2 years ago Active since 2022

Followers: 0   Following: 0

Statistics

  • Thankful Level 2
  • Thankful Level 1

View badges

Feeds

View by

Question


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 ago | 1 answer | 0

1

answer

Question


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 ago | 0 answers | 0

0

answers

Question


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 ago | 1 answer | 0

1

answer

Question


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 ago | 1 answer | 0

1

answer

Question


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 ago | 0 answers | 0

0

answers

Question


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...

2 years ago | 1 answer | 0

1

answer

Question


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...

2 years ago | 1 answer | 0

1

answer

Question


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,...

2 years ago | 1 answer | 0

1

answer

Question


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...

2 years ago | 1 answer | 0

1

answer

Question


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.

2 years ago | 1 answer | 0

1

answer