Question

plot plane through set of 3d point

Let's say : I have a set of 3d data (x,y,z) from experiment data=[x1 y1 z1 x2 y2 z2 x3 y3 z3 ...

3 years ago | 1 answer | 0

Question

plot 3d set of data(x,y,z) colored by the z coordinate

Let's say: I have a set of data (x,y,z) containing 1000 points [x1 y1 z1 x2 y2 z2 x3 y3 z3 ......... xn yn ...

3 years ago | 1 answer | 0

Question

euclidean clustering for the set of 3d points(x,y,z)

Hi everyone, I'm trying to write matlab code for "euclidean clustering of point" as below pseudocode : <</matlabcentral/answ...

3 years ago | 0 answers | 0

Question

calculate area of boundary of set of 2d-data point

Example: I wanna calculate the area of the boundary of set 2d-data as below illustration: I use the code(polyarea) as follows: ...

3 years ago | 2 answers | 1

Question

How to Combine two Cell Array to be 1 cell array?

Let's say: A : 1x3 cell class A={cell_1, cell_2, cell_3, } A={[2x1 double],[5x1 double],[3x1 double]}...

3 years ago | 2 answers | 0

Question

how to delete a element out of cell?

Let's say: A : 1x3 cell class A={cell_1, cell_2, cell_3, } A={[2x1 double],[5x1 double],[3x1 double]}...

3 years ago | 1 answer | 0

Question

distance from point to plane (plane was created from 3d point data)

Let's say : a plane N contain a set of 3d coordinate data (A). A=[x1 y1 z1 x2 y2 z2 x3 y3 z3 ........] ...

3 years ago | 1 answer | 0

Question

How can I call all element from cell class ?

Let's say: A : 1x3 cell class A={cell_1, cell_2, cell_3, } A={[2x1 double],[5x1 double],[1x1 do...

3 years ago | 1 answer | 0

Question

delete row in matrix if the row contain "Inf" value

Let's say: A=[1 2 3 5 2 Inf Inf Inf ---->delete this row 3 1 7 5 9 Inf ...

3 years ago | 3 answers | 0

Question

condition for structure class

Let's say: A : 4x1 structure class A= Field1 :[1000x1 double], Field2 : [2x1 double], Field3 : [5x1 double]...

3 years ago | 1 answer | 0

Question

convert structure class to double class

Let's say: A : 4x1 structure class A= Field1 :[1000x1 double], Field2 : [2x1 double], Field3 : [5x1 double...

3 years ago | 2 answers | 0

Question

How to call vector in matrix with condition?

Hello, I have: n-by-4 matrix A: A=[ x1 y1 z1 5 % x1,y1,z1: coordinate of point 1 x2 y2 z2 5 % x2,y...

3 years ago | 2 answers | 0

Question

how to call the data in matrix with the same value in one column

Let's say: A= [ 111 111 111 2 % group 1 999 999 999 2 % group 1 ........... 555 555 555 4 ...

3 years ago | 1 answer | 0

Question

How to get index of each points in data?

Let's say: A= [ 111 111 111 22 %index 1 999 999 999 11 %index 2 555 555 555 44 %index ...

3 years ago | 3 answers | 0

Question

how to find norm of each vector in one matric in Matlab?

Let's say: Matrix A=[3 2 1 %vector 1 1 1 1] %vector 2 How to find norm of each vector of matri...

3 years ago | 3 answers | 0

Question

find the distance from each point in matrix B to all point in matrix A

Let's say: I have the matrix A containing of 5 points A=[ 5 5 1 ----> coordinate (x,y,z) of point A1 ...

3 years ago | 2 answers | 0

Question

find the distance from 1 point to all point

Let's say: I have the data A containing of n points A=[ 5 5 1 ----> coordinate (x,y,z) of point 1 ...

3 years ago | 1 answer | 0

Question

How to find rotation matrix from vector to another?

I have object with 3 vector. Let's say: e1=[a1 b1 c1]; e2=[a2 b2 c2]; e3=[a3 b3 c3]; The global coordinator system (Ox, Oy, ...

3 years ago | 1 answer | 2

Question

rotation matrix between two coordinate systems matlab

I have a coordinate system A Example: 3 principal vector direction of system A are: e0= [0.3898 -0.0910 0.9164] ...

3 years ago | 1 answer | 0

Question

How to plot each matrix in a cell in 3d plot ?

Let's say: Cell A with size of 1x100 cell: A={1x100} cell And the size each matrix in the cell A is like this: {A}=...

3 years ago | 1 answer | 0

Question

delete a row with condition

Let's say: A=[ 1 222 ----> labelling "1" 2 555 ----> labelling "2" 3 999 ----> la...

3 years ago | 1 answer | 0

Question

Add index matrix to matrix

I have some algorithm including a *while* loop:: while (condition) ......................................................

3 years ago | 3 answers | 0

Question

Add matrix to matrix

Let's say: A=zeros(7,2): A=[ 0 0 0 0 0 0 0 0 0 0 ...

3 years ago | 3 answers | 0

Question

Help to find errors of if loop?

%% Example Complex: for,if... loop; clear;clc; A=[400; 900; 200; 300; 100]; k=[4;1]; % index matrix c=[11]; e=...

3 years ago | 1 answer | 0

Question

how to find index of the point in matrix with condition?

Let's say, i have matrix 6-by-1 matrix: A=[ 1 --->labelling "1" 6 --->labelling "2" 3 ...

3 years ago | 1 answer | 0

Question

How to call index of vector in matrix?

Hello, I have: n-by-3 matrix A, and n-by-1 matrix B: A=[ x1 y1 z1 x2 y2 z2 x3 y3 z3 x4 ...

3 years ago | 2 answers | 0

Question

How to find the Union of two matrices with the same column size?

I have two matrices of different sizes: say A(n,2) and B(m,2). How to find the "Union" or "Intersection" of these two matrices? ...

3 years ago | 1 answer | 0