# Lu Da Silva

Followers: 0 Following: 0

**Statistics**

RANK**64 404**

of 291 666

REPUTATION**0**

CONTRIBUTIONS

**30** Questions

**1** Answer

ANSWER ACCEPTANCE **
43.33%
**

VOTES RECEIVED**0**

RANK

of 19 818

REPUTATION**N/A**

AVERAGE RATING**0.00**

CONTRIBUTIONS**0** Files

DOWNLOADS **0**

ALL TIME DOWNLOADS**0**

RANK

of 146 476

CONTRIBUTIONS

**0** Problems

**0** Solutions

SCORE**0**

NUMBER OF BADGES**0**

CONTRIBUTIONS**0 Posts**

CONTRIBUTIONS**0** Public Channels

AVERAGE RATING

CONTRIBUTIONS**0** Highlights

AVERAGE NO. OF LIKES

**Feeds**

Question

How to select rows in a matrix based on the values in another matrix?

Hi, I have a matrix A and a matrix B: -------- A ------- ---------- B --------- 201918 4.5 ...

ungefär 2 år ago | 2 answers | 0

### 2

answersQuestion

How to convert datetime into a number?

I have a table whose first column is a timestamp in the format 08-Jan-2016 05:40:00. How do I convert it into numbers? Wanted o...

ungefär 2 år ago | 1 answer | 0

### 1

answerQuestion

How to find 5 consecutive values above threshold within a certain window?

I have a vecor A: A = [6 7 8 8 8 7 6 7 6 2 7 8 9 3 3 4 6 7 8 9] The threshold is 5. I want to keep all values that are above t...

ungefär 2 år ago | 2 answers | 0

### 2

answersQuestion

How to export a table including column names?

I have a matrix A that I want to convert into a table with variable names and export as csv. This is my code: MyTable = array2...

ungefär 2 år ago | 2 answers | 0

### 2

answersQuestion

How to calculate R^2 based on external linear equation?

I have a scatter and I calculated the slope and intercept of the best fitting line (using orthogonal regression). So now I have...

mer än 2 år ago | 2 answers | 0

### 2

answersQuestion

How to place values in a matrix with values from another matrix?

I have 2 tables A and B: A B 2018 13 2018 0.2 2019 15 2019 0.3 2020...

mer än 2 år ago | 2 answers | 0

### 2

answersQuestion

How to specify max. number of outliers on which to apply the Hampel filter?

I have a timeseries with outliers. However, sometimes these occur consequtively, e.g. 20 datapoints one after the other. This po...

mer än 2 år ago | 1 answer | 0

### 1

answerQuestion

How to solve two equations with two unknowns that are vectors?

I have to find 2 vectors x and y as follows: syms x y; E = [ws == sqrt(x^2+y^2), wd == atan2(x,y)]; S = vpasolve(E,x,y); ws ...

mer än 2 år ago | 1 answer | 0

### 1

answerQuestion

Subtracting elements within a table

I have a table: 1 23 2 24 3 21 4 34 1 89 2 23.2 3 34.8 4 -23.1 and it c...

mer än 2 år ago | 1 answer | 0

### 1

answerQuestion

How to keep rows whose values follow a certain sequence?

I have a matrix composed of two columns A and B, I need to only keep the rows which contain the sequence 90-180-270: A B ...

mer än 2 år ago | 2 answers | 0

### 2

answersQuestion

How to convert all array values into negative ones?

I have an array A: A = [2; 3; 5; -8; 9; 1; -1] how do I convert it into an array whose values are all negative? So as to obtai...

mer än 2 år ago | 4 answers | 0

### 4

answersQuestion

How to apply this formula into a matlab loop?

Hi, I have a table that looks like this: % have: % wanted: X Y Z ___________________________...

mer än 2 år ago | 1 answer | 0

### 1

answerQuestion

How do I delete all rows in a table depending on one column's NaNs?

Hi, I have a table A: 1 2 3 NaN 4 5 3 4 NaN I need to delete all rows where column ...

mer än 2 år ago | 1 answer | 0

### 1

answerHow to solve an equation with a vector as unknown?

I solved it with this code: syms X eqn = M == X * sqrt((X-A)^2 + B^2); sol = arrayfun(@vpasolve,eqn,'uniform',0);

mer än 2 år ago | 0

| accepted

Question

How to solve an equation with a vector as unknown?

I have the following equation: M = X * sqrt((X-A)^2 + B^2) A and B are constants but M is a vector containing 100 values. I'm ...

mer än 2 år ago | 1 answer | 0

### 1

answerQuestion

How to delete all rows of a matrix wherever any value is invalid (999)?

I have a matrix M of 100 rows and 4 colums. Whenever column 1 of M is 99 I want to delete the entire row. Also whenever column...

mer än 2 år ago | 3 answers | 0

### 3

answersQuestion

How to retrieve the indices of the values in each bin?

I have a histogram with values from a vector A , spread into 30 bins. How can I get the indices of the values in A, that corresp...

mer än 2 år ago | 1 answer | 0

### 1

answerQuestion

How to create vectors out of (histogram) bins and take averages?

I have a vector containing speeds from 0.25m/s to 20m/s. I need to bin the speeds in bins of 0.5m/s widths cenetred at integers ...

mer än 2 år ago | 1 answer | 0

### 1

answerQuestion

How to find the intersection of a fitting line with a logarithmic y-axis?

I have a vector A = [10 40 60 80] and a vecor B = [5 6 7 8] I need to create a plot where the x-axis is B and the y-axis is A ...

mer än 2 år ago | 1 answer | 0

### 1

answerQuestion

Group values of a vector into new vectors according to magnitude

I have a vector A with different values of angles: A = [17 323 100 3 278 220 45 351 212 51] what I need is to group all angles...

mer än 2 år ago | 2 answers | 0

### 2

answersQuestion

How to set x-axis into HH:MM format?

I have a double of 21x1 which corresponds to the air temperature over time. The time is a cell (21x1) containing the hour at whi...

nästan 3 år ago | 1 answer | 0

### 1

answerQuestion

How to extract data from fnplt plot?

I created two plots using the fnplt function. One plot represents the chord length (c) over the radial position, the other the t...

ungefär 3 år ago | 0 answers | 0

### 0

answersQuestion

How to multiply matrix with vector?

I need to find E and K as 2 separate vectors. A, B and D are matrices of their own (3x3). N and M are vectors (2x5). Mathema...

ungefär 3 år ago | 1 answer | 0

### 1

answerQuestion

How to implement 2 vectors in a for-loop to get a matrix?

I use a for-loop to define the profile of an airfoil. It depends on sundry factors, two of which (a and b) are variables. In o...

mer än 3 år ago | 1 answer | 0

### 1

answerQuestion

How to extract values from plot?

I created two plots using the fnplt function. One plot represents the chord length (c) over the radial position, the other the t...

mer än 3 år ago | 0 answers | 0

### 0

answersQuestion

How to solve quadratic equation which includes a vector?

Hi, I have the following equation: V1^2 - V1*V2 - Q*Z = 0 V1 is what I need to find V2 is a known constant Q is a known v...

mer än 3 år ago | 1 answer | 0

### 1

answerQuestion

What function to use to solve an equation for a variable that's on both sides of the equation?

I need to find s. Every other variable is given; they're all constants except for "e" which is a vector (of 50 given values). s...

mer än 3 år ago | 2 answers | 0

### 2

answersQuestion

How to solve 3 interconnected equations?

I have a vecor R with 10 values M = S * 3 and S = R+M how do I connect the vector with the 2 equations in order to receive a v...

mer än 3 år ago | 1 answer | 0

### 1

answerQuestion

How to solve a set of equations with a vector as input

I have to create a vector P that is made of 50 values ranging from 0 to 2*10^6. Then I solve 3 equations and need to receive 3 ...

mer än 3 år ago | 1 answer | 0

### 1

answerQuestion

function for sum of each two next values

I have a vector v0 (velocity) and for each velocity I have a value of power (P) that the wind turbine produces at that wind spee...

mer än 3 år ago | 1 answer | 0