# Khairul Nur

**Statistics**

**MATLAB Answers**

**20** Questions

**0** Answers

RANK**139,506**

of 265,242

REPUTATION**0**

CONTRIBUTIONS

**20** Questions

**0** Answers

ANSWER ACCEPTANCE **
60.0%
**

VOTES RECEIVED**0**

RANK

of 18,121

REPUTATION**N/A**

AVERAGE RATING**0.00**

CONTRIBUTIONS**0** Files

DOWNLOADS **0**

ALL TIME DOWNLOADS**0**

RANK

of 116,364

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

Question

round to 2 decimal places but still have more than 2 decimal places when storing

hi, i tried to round to 2 decimal places using (number*100)/100.However, when i used my function to store the result, the store...

4 months ago | 2 answers | 0

### 2

answersQuestion

creating array based in another array

Hi, i have an array nx1 (refer array 1 as below) and i want to create 2nd array based on the 1st array as follow: array 1: 1 ...

1 year ago | 2 answers | 0

### 2

answersQuestion

how to store values into array/matrix with different number of rows and only one column

Hi, how i want to store values from loop which has only 1 cols but may have different numbers rows. For example, in 1st loop th...

1 year ago | 1 answer | 0

### 1

answerQuestion

Logical comparison between two tables

hi, i have two tables (value_a_per_cluster and calc_distance_min) which need to do logical comparison. value_a_per_cluster = ...

1 year ago | 1 answer | 0

### 1

answerQuestion

manipulate table containing numeric and string

hi, i have a table containing numeric and string as follow: crisp_distance_per_cluster1 crisp_distance_per_cluster2 ...

1 year ago | 1 answer | 0

### 1

answerQuestion

ismember and if not working

hi, basically i want to check whether the array "A" contains specific value or not (0,2 and 3), if the array lack of specific va...

1 year ago | 1 answer | 0

### 1

answerQuestion

Returning Incorrect index of array

hi, The simple code below try to find the min value and its index, excluding 0 x = [0 0.5 4 5]; [r,index] = m...

1 year ago | 2 answers | 0

### 2

answersQuestion

Why creating cell then it become table.

Hi, I have a main n a function. This is the main: k=3; data=[2,1;2,4;5,3;3,3;4,3;1,3;1,1;1,2;4,2;5,2]; noofrow=10; pm=[4.46...

1 year ago | 1 answer | 0

### 1

answerQuestion

sum of array by specific index value

hi, i have two array. First array containing index and second array (hasil_tambah_array) containing the value to be sum-up as be...

1 year ago | 2 answers | 0

### 2

answersQuestion

summation of matrix in column

hi, i have this final_mat (40x11), below is my code. What i trying to do is,first it will check the value of j:1 equal to j (1,2...

3 years ago | 1 answer | 0

### 1

answerQuestion

Understanding "Cell contents reference from a non-cell array object." error

i try to convert table mnew to array. Below is my code. Please help me to understand. I also tried tabletoarray(has error too) n...

3 years ago | 0 answers | 0

### 0

answersQuestion

append new row in for loop to create matrix

hi, i want to append a row to creating a 40x4 matrix. Here is my code. for j= 1:row % row=4 for n=1:noofrow %noofrow=40 ...

3 years ago | 0 answers | 0

### 0

answersQuestion

manipulation attribute between two matrices inside loop

Hi, im new in matlab. Please help me to manipulate 2 matrix. For example if i have matrix MM(40X10) and MMM(4X10). I also need t...

3 years ago | 1 answer | 0

### 1

answerQuestion

Please help me to understand Error "The expression to the left of the equals sign is not a valid target for an assignment.

hi, i have this code a error "The expression to the left of the equals sign is not a valid target for an assignment." Please hel...

3 years ago | 2 answers | 0

### 2

answersQuestion

return many value in function.

hi, i have this main function that called calc_centroid(data) as folow: [cc1,cc2,cc3,cc4] = calc_centroid(data) %is it correct...

3 years ago | 2 answers | 0

### 2

answersQuestion

append new row in loop

hi all, i need some solution. Please help. I want to create a function which has L is a matrix 1:11 and return a matrix 40:11 af...

3 years ago | 1 answer | 0

### 1

answerQuestion

Understanding :error To RESHAPE the number of elements must not change while manipulating matrix

Hi, i need some explaination, i run this code and the input matrix 40*11 and resulted 41*11 matrix. I try to put it into a new m...

3 years ago | 1 answer | 0

### 1

answerQuestion

multiple loop and produce infinite loop

hi, i have trouble using while loop. Where should i put the j inrement? i try fews times but infinite loop. Thanks in advance. ...

3 years ago | 1 answer | 0

### 1

answerQuestion

compare between element of matrix in different size

hi, i need some help here. I want to compare element between two matrices new_mat[40x11] and kmatrix[1x4]. If the 11th columns...

3 years ago | 1 answer | 0

### 1

answerQuestion

how to produce a logical matrix using index matrix

Hi, i need some help here, im also new in matlab. i have 'b' containing index matrix for example b=1; i want to create logical m...

3 years ago | 1 answer | 0