Feeds
질문
how to do random walk?
1. Write a function xrand(x) which takes as input a number from 0 to 100 and as output returns 1 with likelihood x% and returns...
8년 초과 전 | 답변 수: 1 | 1
1
답변질문
replace element in the vector without using loops or if statement
using a logical vector and a single line of code (3 total lines if you count the “function” line and the “end” line). Your func...
8년 초과 전 | 답변 수: 1 | 0
