Community Profile

Hamid

Last seen: 3 days ago Active since 2022

Content Feed

View by

Question

Increasing the caclulation speed while using loops
Dear MATLAB experts, I considered a range for x and y and if x1 and y1 are within a specific range the code must convert x1 and...

10 days ago | 1 answer | 0

1

Question

Shift lables for x and y axis on a graph
Dear experts, I have a graph as attached an plotted using pcolor. The values in x-axis and y-axis are from 0 to 30 and I want...

1 month ago | 2 answers | 0

2

Question

Find duplicate elements and remove the rows that has similar values in one column
Dear Matlab experts, I am using the following function to find the rows that has similar value in their 9th column. The speed o...

1 month ago | 1 answer | 0

1

Question

How to change size of subplots and active scroll bar to have bigger subplots?
Dear all, I have to plot 40 figures and I am using subplot but the outputted figures are small (Please find it attached). Is th...

3 months ago | 0 answers | 0

0

Grouping or categorizing data based on conditions
for i = 1:length(xedges)-1 for j = 1:length(yedges)-1 for k = 1:length(zedges)-1 idx = ((xedges(i...

4 months ago | 0

| accepted

Question

Problem with filling a variable inside loops
Dear experts, I have 3 loops as shown in the code and want to find elements of t_p but the hmd variable is empty and not fillin...

4 months ago | 1 answer | 0

1

Question

different outputs for same input in every run
Dear all, I am using fitcknn function and I expect a 8*2 matrix to be the output (detected varialble). But sometime the output...

4 months ago | 1 answer | 0

1

Question

find elemets of matrix based on logical conditions
Dear MATLAB experts, I have a matrix and wanted to find elements that meet the condition written as goodpts. I tried find f...

4 months ago | 1 answer | 0

1

Question

Subtracting one element of an array from all elements of another array
Dear all, I have two (40*40) arrays and want to subtract every element of one array from all elements of the other one. Is ther...

4 months ago | 1 answer | 0

1

Question

Grouping or categorizing data based on conditions
Dear all, In my calculations data is generated as attached which is x,y,z and a value as 4th dimension. I wanted to divide thi...

4 months ago | 2 answers | 0

2

Question

Wrong output of ismember command
Dear all, In part of my code I am using ismember command and as the array I am using has 21*9 shape and all of these elements ...

5 months ago | 1 answer | 0

1

Question

Find the rows that have common elements for 4 arrays
Dear all, I have 4 files and created 4 arrays, I wanted to make a new array that includes the rows that their last column elemen...

5 months ago | 1 answer | 0

1

Question

finding a specific element based on conditions
Dear all, I have two problems with my code. 1) The p table is filled in one row but I expected to have 100*4 table. as all var...

5 months ago | 1 answer | 0