Community Profile

photo

Rongyu Chu


Active since 2019

Statistics

Content Feed

View by

Answered
How to accelerate my code
Is there anyway I can use matrix instead of loops ? Matrix should be able to solve this much faster.

4 years ago | 0

Question


How to accelerate my code
Hi, guys. The question I am asked to solve is like this. I will be given a list of numbers (note that the first and last numbers...

4 years ago | 2 answers | 0

2

answers

Answered
Delete some specific numbers from an array
So, here is the cide I wrote. N = load('exp.dat'); len = length(N); for i = 2:(len-3) if N(i+1)>N(i)>N(i-1) ...

4 years ago | 0

Question


Delete some specific numbers from an array
So, the problem is like this. I have an array of random numbers. For example [10 9 5 5 7 3 5 8 3 5 6 3 7 10 ]. First, I have to ...

4 years ago | 2 answers | 0

2

answers