Community Profile

photo

Khairul Nur


Last seen: más de 1 año hace Con actividad desde 2019

Followers: 0   Following: 0

Estadísticas

  • Thankful Level 3

Ver insignias

Feeds

Ver por

Pregunta


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

casi 2 años hace | 2 respuestas | 0

2

respuestas

Pregunta


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

más de 2 años hace | 2 respuestas | 0

2

respuestas

Pregunta


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

más de 2 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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

más de 2 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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

más de 2 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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

más de 2 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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

casi 3 años hace | 2 respuestas | 0

2

respuestas

Pregunta


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

casi 3 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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

casi 3 años hace | 2 respuestas | 0

2

respuestas

Pregunta


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

más de 4 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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

más de 4 años hace | 0 respuestas | 0

0

respuestas

Pregunta


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

más de 4 años hace | 0 respuestas | 0

0

respuestas

Pregunta


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

más de 4 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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

más de 4 años hace | 2 respuestas | 0

2

respuestas

Pregunta


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

más de 4 años hace | 2 respuestas | 0

2

respuestas

Pregunta


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

más de 4 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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

más de 4 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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

más de 4 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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

más de 4 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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

más de 4 años hace | 1 respuesta | 0

1

respuesta