# ha ha

**Statistics**

RANK**3,472**

of 271,094

REPUTATION**12**

CONTRIBUTIONS

**74** Questions

**13** Answers

ANSWER ACCEPTANCE **
91.89%
**

VOTES RECEIVED**8**

RANK

of 18,282

REPUTATION**N/A**

AVERAGE RATING**0.00**

CONTRIBUTIONS**0** Files

DOWNLOADS **0**

ALL TIME DOWNLOADS**0**

RANK

of 119,738

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

**Content Feed**

maximum value of matrix

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

3 years 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: ...

3 years ago | 3 answers | 0

### 3

answersQuestion

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

3 years ago | 1 answer | 0

### 1

answerQuestion

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

3 years ago | 2 answers | 0

### 2

answersQuestion

Loading Large .txt files

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

3 years ago | 2 answers | 0

### 2

answersQuestion

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

3 years ago | 1 answer | 0

### 1

answerQuestion

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

3 years ago | 1 answer | 0

### 1

answerQuestion

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

3 years ago | 1 answer | 0

### 1

answerQuestion

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

3 years ago | 2 answers | 0

### 2

answersQuestion

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

3 years ago | 1 answer | 0

### 1

answerQuestion

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

3 years ago | 1 answer | 0

### 1

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

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

3 years ago | 1 answer | 0

### 1

answerQuestion

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

3 years ago | 1 answer | 0

### 1

answerQuestion

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

3 years ago | 1 answer | 0

### 1

answerQuestion

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

3 years ago | 1 answer | 0

### 1

answerQuestion

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

3 years ago | 1 answer | 0

### 1

answerQuestion

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];%...

3 years ago | 1 answer | 0

### 1

answerQuestion

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

3 years ago | 0 answers | 1

### 0

answersClosest 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];...

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

4 years ago | 1 answer | 0

### 1

answerQuestion

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

4 years ago | 1 answer | 0

### 1

answerQuestion

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

4 years ago | 1 answer | 0

### 1

answerQuestion

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

4 years ago | 2 answers | 0

### 2

answersQuestion

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

4 years ago | 3 answers | 0

### 3

answersQuestion

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

4 years ago | 1 answer | 0

### 1

answerQuestion

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

4 years ago | 1 answer | 0

### 1

answerQuestion

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

4 years ago | 2 answers | 0

### 2

answersrotation 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]; ...

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

4 years ago | 1 answer | 0