Community Profile

photo

Lu Da Silva


Last seen: 2 dagar ago Active since 2020

Statistics

  • Thankful Level 2

View badges

Content Feed

View by

Answered
How 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);

15 dagar 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 ...

15 dagar ago | 1 answer | 0

1

answer

Question


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...

19 dagar ago | 3 answers | 0

3

answers

Question


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...

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

1

answer

Question


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 ...

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

1

answer

Question


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 ...

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

1

answer

Question


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...

2 månader ago | 2 answers | 0

2

answers

Question


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...

3 månader ago | 1 answer | 0

1

answer

Question


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...

8 månader ago | 0 answers | 0

0

answers

Question


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...

8 månader ago | 1 answer | 0

1

answer

Question


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...

9 månader ago | 1 answer | 0

1

answer

Question


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...

9 månader ago | 0 answers | 0

0

answers

Question


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...

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

1

answer

Question


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...

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

2

answers

Question


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...

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

1

answer

Question


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 ...

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

1

answer

Question


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...

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

1

answer

Question


How to find a corresponding matrix value
I have two matricies, Q and W, and I calculated the values of Q from the values of W. I then found the maximum values of each ro...

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

2

answers