photo

Eduardo Alfaro


Last seen: meer dan 4 jaar ago Active since 2017

Followers: 0   Following: 0

Message

Statistics

  • Thankful Level 1

View badges

Feeds

View by

Question


Prime Function without Conditionals or Iteration
I have to construct a code that inputs a positive integer N and outputs a vector of the prime numbers up to that positive intege...

bijna 8 jaar ago | 2 answers | 0

2

answers

Question


Find the average in each row with certain conditions
I have a Nx2 array and have to find the average of each row. However, if the number in the right column is lower than the one on...

bijna 8 jaar ago | 2 answers | 0

2

answers

Question


How to replace a certain value for another one once in a vector without using the index?
vec = [89.7000 9.1000 68.0000 87.7000 91.7000 9.1000] rep = 50 I have to replace one of the 9.1000s in vec for rep witho...

bijna 8 jaar ago | 1 answer | 0

1

answer