Community Profile # ARGY B

13 total contributions since 2019

View details...

Contributions in
View by

Question

How to find the coordinates of a point perpendicular to a line (knowing the distance)?
I have a line made of two points A(xA,yA) and B(xB,yB) and I know a point C(xC,yC) belonging to this line (somewhere between A a...

8 months ago | 1 answer | 0

### 1

Question

How to find the indices that a point lays between?
I have a vector X and a vector Y with 112 points. See picture above, the points are depected with a cross symbol. There is a ...

9 months ago | 2 answers | 0

### 2

Question

find coordinate(-s) on a plot
I have the plot you see above (plotted from data of two vectros X and Y). And I would like to find the coordinates x where y =...

9 months ago | 1 answer | 0

### 1

Question

How to avoid for loop, when using ecdf for a matrix?
Is there a smarter way to create a matrix fx and a matrix x without using the for loop? for i=1:4 [fx(:,i) x(:,i)]= ecdf(A...

10 months ago | 1 answer | 0

### 1

Question

How to use find for a vector without a loop?
I have the following script but doesn't work (properly) V_dates = [datenum(2030,1,1) datenum(2050,1,1) datenum(2075,1,1) datenu...

10 months ago | 1 answer | 0

### 1

Question

How do I convert a string to a date?
I have a txt file with dates in the following form: 200309302300 200309302310 200309302320 ......etc How can I convert thes...

10 months ago | 1 answer | 0

### 1

Question

How to retrieve data from a website?
I would like to retrieve data from a webasite, and store them in a matrix of two columns (or in two vectors). I tried this: ur...

10 months ago | 1 answer | 0

### 1

Question

Marker points are not fully visible
plot(x,y,'ok','MarkerSize',12,'MarkerFaceColor','k');hold on plot(x1,y1,'LineWidth',2); hold off a = datenum(x1); datetick('...

11 months ago | 1 answer | 0

### 1

Question

How to find which are the nearest points to the line segment?
I have a vector X size 50x1 and a vector Y size 50x1. If i plot(X, Y, 'r+') then I get the rays you can see at the plot (the...

11 months ago | 1 answer | 0

### 1

Question

Use find function, for more than one value avoiding a for loop
Is there a way to use find function but for more than one value? Lets say we have a matrix 1000x100 named A, where 100 is the n...

12 months ago | 0 answers | 0

### 0

Question

I have a vector with 100 measurements. --> [x] So i used: [parmhat,parmci] = gpfit(x). (to get the Generalized Pareto parame...

1 year ago | 0 answers | 0

### 0

Question

How to sum up numbers into a cell?
Hi, I have a 100x5 cell, and each element of it contains vectors of different sizes. See pic1. The vectors contains different n...

1 year ago | 1 answer | 0