photo

Caesar Hernandez


Last seen: 4 years 前 自 2020 起处于活动状态

Followers: 0   Following: 0

统计学

  • Thankful Level 2
  • Thankful Level 1

查看徽章

Feeds

排序方式:

提问


How do I make a for loop that averages the first 150 values of vector, x, saves it, and then averages the next 150 values of the same vector, x, saves it, and continues for the entirety of the vector, x.
I have a column vector, x, in which every 150 elements need to be averaged and the result saved, as a new vector, y. So far I ha...

4 years 前 | 1 个回答 | 0

1

个回答

提问


How can I count the number of times a specific value appears within a range in a 1D vector?
Given a 1D vector, x, that has 600000 elements, how can I count the number of times the value 1 appears after the 150th position...

4 years 前 | 3 个回答 | 0

3

个回答