Community Profile

# ha ha

Last seen: 5 meses ago Active since 2017

#### Content Feed

View by

maximum value of matrix
[Val,ix]=max(A(:)); [r,c]=ind2sub(size(A),ix); A(r,setdiff(1:size(A,2),c),:);

casi 3 años ago | 0

Question

maximum value of matrix
let's say , I have matrix A=[3 1;4 9 ;5 7 ]; A=[3 1 4 9 5 7 ]; I can find the maximum value from matrix A is 9: ...

casi 3 años ago | 3 answers | 0

### 3

Question

Call pts with z value within a range
Let's say, I have matrix A (kx3 matrix): (X,Y,Z coordinate) A=[1 1 1; 2 2 2; 1 2 1; 9 9 2; 5 5 5; 6 6 6; 3 2 1; 1 1 9; 2 2 8]; ...

casi 3 años ago | 1 answer | 0

### 1

Question

Convert Cell to Matrix
Let' say, I have cell_A: 5x1 cell cell_A={ [] ; [1] ; [5]; [] ; [2]}; How can I convert it to be matrix? 5-by-1 matrix resu...

alrededor de 3 años ago | 2 answers | 0

### 2

Question

Let's say I have a very very large .txt file with (200millions row & 11 columns= 200m-by-11 matrix). All data are numeric numbe...

alrededor de 3 años ago | 2 answers | 0

### 2

Question

change last element in array by specific value matlab
Let's say I have matrix a a=[1 2 3 4 5 6 7 8 9]; it's observed that the last value of array a is "9". I want to change this v...

alrededor de 3 años ago | 1 answer | 0

### 1

Question

Find the set of 3d data parrallel to the current 3d data
Let's say: I have two set of 3d points as illustration (also see attached file: 1.txt , &, 2.txt) ...

alrededor de 3 años ago | 1 answer | 0

### 1

Question

delete some matrix in cell with condition
Let's say I have 2 cells, & these 2 cells have relationship(cell_A and cell_B always have same dimension; mean: they have same n...

alrededor de 3 años ago | 1 answer | 0

### 1

Question

fitting rectangle through data points
Let's say I have the data as shown in OXY plane(Here, I show 2 examples): How can I fit the rectangle through data: ...

alrededor de 3 años ago | 2 answers | 0

### 2

Question

remove cell array content matrix with condition: length of element in cell smaller than specific value
Let's say: cell_A : 1x3 cell class cell_A={matrix_1 matrix_2 matrix_3 } cell_A={[5x3 double] [1x3 double] [6x3 doubl...

alrededor de 3 años ago | 1 answer | 0

### 1

Question

How to calculate the perimeter of a polygon without using built-in function in matlab
clear;clc; P = [1 1 ;1 2; 2 1 ; 3 1 ;3 5 ; 4 2 ; 4 3 ; 4 4 ; 2 4 ; 1 4 ; 1 3 ];%the original is not in order (random) % How t...

alrededor de 3 años ago | 1 answer | 0

### 1

How to calculate the perimeter of a polygon without using built-in function in matlab
clear;clc; P = [1 1 ;1 2; 2 1 ; 3 1 ;3 5 ; 4 2 ; 4 3 ; 4 4 ; 2 4 ; 1 4 ; 1 3 ];%the original is not in order (random) hold on...

alrededor de 3 años ago | 0

| accepted

Question

get the value of element from matrix
Let's say: I have matrix A, B A=[1 1 200; 2 2 2;9 9 9; 5 5 5; 3 3 355];%matrix 5x3 B=[9 9; 1 1; 3 3]%matrix 3x2 How can...

alrededor de 3 años ago | 1 answer | 0

### 1

Question

delete matrix in cell
let's say: I have 2 cell: cell_A and cell_B cell_A=1x5 cell={[1 1 1] [1 2 3;3 2 1] [4 5 6;7 8 9;1 1 1] [2 2 2;3 3 3] [...

alrededor de 3 años ago | 1 answer | 0

### 1

Question

how to write a matrix to text file with loop name of .txt
Let's say, I have a code like this: for i = 1:size(cell,2) data = cell{i}; %kx3 matrix dlmwrite('name_change_acoordi...

alrededor de 3 años ago | 1 answer | 0

### 1

Question

call all element inside cell (this cell contain another set of cells)
Let's say, I have a cell cell_A=1x3 cell cell_A= { cell A1 cell A2 cell A3}; cell_A1=1x2 cell={[1 1 1;2 2 2],[3 3 3;4 4 ...

alrededor de 3 años ago | 1 answer | 0

### 1

Question

sort the matrix according to order of column
Let's say, I have the matrix: A=[x,y]=[1.1 2;1.2 4;1 4;1.1 3 ;1.3 2;1.3 4;1 2;1.2 3;1.3 3;1.2 2;1 3;1.1 4]; ...

alrededor de 3 años ago | 1 answer | 0

### 1

Question

delete value in matrix with condition
Let's say, I have 2 matrix: A=[1 9 5 6;2 1 4 5;3 4 3 5];%matrix A dist_A=[0.1 0.6 0.4 0.5; 0.5 0.1 0.2 0.3; 0.2 0.9 0.7 0.4];%...

más de 3 años ago | 1 answer | 0

### 1

Question

Miscalculation of new function "pcsegdist" in Matlab R2018b
I try to test the new function "pcsegdist" in Matlab R2018b. However, the result is wrong for Segment point cloud into clusters ...

más de 3 años ago | 0 answers | 1

### 0

Closest coordinate points between 2 data sets
clear;clc; A=[1 1 1;1.5 1 1;2 1 1;2.5 1 1;3 1 1;1 2 1;3 2 1;1 3 1;1.5 3 1;2 3 1;2.5 3 1;3 3 1;1 1.5 1;1 2.5 1;3 1.5 1;3 2.5 1];...

más de 3 años ago | 1

| accepted

Question

Closest coordinate points between 2 data sets
Let's say: I have 2 dataset containning 3d points: A=[1 1 1;1.5 1 1;2 1 1;2.5 1 1;3 1 1;1 2 1;3 2 1;1 3 1;1.5 3 1;2 3 1;2.5 3 1...

más de 3 años ago | 1 answer | 0

### 1

Question

find the 3D coordinate of point with condition
Let's say: I have point A(1,1,1) in 3D space OXYZ, and vector n(1,2,3). How can i find the coordinate point B satifying the cond...

más de 3 años ago | 1 answer | 0

### 1

Question

how to built custom a colormap
I want to built "colorRGB" matrix with k-by-3 matrix (k is predefined number by the user) Let's say: I need 5 colors (k=5; & ra...

más de 3 años ago | 1 answer | 0

### 1

Question

circle fitting to set of 2D data contain noise data
Let's say: I want to fit the circle through the set of data points (17 point with x & y coordinate- Please see attachment test1....

más de 3 años ago | 2 answers | 0

### 2

Question

How to call vector in matrix with condition
Let's say: A=[7 2 3 50;4 5 6 15;1 8 9 20;1 1 1 30] A= 7 2 3 50 4 5 6 15 1 8 9 20 ...

más de 3 años ago | 3 answers | 0

### 3

Question

translation matrix in OXY plane
Let's say: I have matrix A=[x y z] with ~3.000 point data . Please see attachment file, and figure: My question is: how...

más de 3 años ago | 1 answer | 0

### 1

Question

Rotate the 3D point data about Z axis , and // OX OY
Let's say: I have matrix A=[x y z] with ~60.000 point data . Please see attachment file, and figure: Question: How ...

más de 3 años ago | 1 answer | 0

### 1

Question

rotation matrix 3D point data
Let' say , I have the 3d point data in format [xi yi zi] of 176 point as show in attachment file test.txt. The 3d point data is ...

más de 3 años ago | 2 answers | 0

### 2

rotation meshgrid surface with the predefined angel(using rotation matrix)
clear;clc;x = 1:0.2:1.8; y = 2:0.2:3; z=[ 2 5 2 2 2;2.1 2.1 2.1 2.1 2.1;2 2 2 2 2;3 3 3 3 3;1 1 1 1 1;2.5 2.5 2.5 2.5 2.5]; ...

más de 3 años ago | 0

| accepted

Question

plot 3D point data
I have matrix A=[x y z] with 2112 point data . Please see attachment file, and figure: How can I plot the surface using tha...

más de 3 años ago | 1 answer | 0