Community Profile

photo

esperanta


Last seen: 4 months ago Active since 2020

Statistics

  • Thankful Level 2

View badges

Content Feed

View by

Question


Randsample with matrix: extract multiple values from every column of a matrix without loop!
I have a matrix of weights pV = rand(N,F), e.g. pV= [0.5522 0.3922 0.0221 1 0;... ...

1 year ago | 1 answer | 0

1

answer

Question


How to create a matrix of ones and zeros with location of ones based on array that also contains zeros?
Hi, I have a vector V= [3 1 1 5 0 4], which contains both zeros and nonzero values, I want to obtain a matrix of ones and ze...

1 year ago | 1 answer | 0

1

answer

Question


How to generate random numbers from a scaled beta PDF?
Hello! I generated a scaled Beta PDF with parameters a=3, b=3, scaled in the interval [-0.5,0.5] by using the function Scaled_Be...

4 years ago | 1 answer | 0

1

answer