提问


Create a vector with the non-zero indices of a cell array
I have a cell array. I need to create a column vector that returns the non-empty row indices. I have tried this way but there i...

1 year 前 | 1 个回答 | 0

1

个回答

提问


move cells (contained within a cell) to coordinates other than the starting coordinates
Hi. I have a cell 'matrix_complete' and a coordinate matrix 'coord'. I need to transform 'matrix_complete' so that: the first...

1 year 前 | 1 个回答 | 0

1

个回答

提问


determine the coordinates with the 0's within a cell
Hi! I have this cell. How can I determine the coordinates where the 0's are? For example in 'matrix' I need to get a matrix wi...

1 year 前 | 1 个回答 | 0

1

个回答

提问


compare two matrices with isequal
Hi. I need to compare matrices present inside two separate cells (cells 'AAA' and 'BBB'). AAA = importdata("AAA.mat"); BBB = ...

1 year 前 | 1 个回答 | 0

1

个回答

提问


Store all results obtained from a for loop inside a matrix
Hi. I need to transform the matrix 'matrix' to 'matrix_out' by inserting the number '0' inside the matrix 'matrix' in reference ...

1 year 前 | 2 个回答 | 0

2

个回答

提问


import to the workspace a .mat file saved in a folder other than pwd
How can I import a .mat file saved in a folder other than pwd to the workspace? folder = 'C:\Users\Desktop\folder_test'; file ...

1 year 前 | 2 个回答 | 0

2

个回答

提问


transform an empty matrix '0x0 double' into a matrix '0x1 uint8'
Hello! How can I transform an empty matrix '0x0 double' into a matrix '0x1 uint8' as in the figure? For example in my case, I...

1 year 前 | 2 个回答 | 0

2

个回答

提问


transform an empty matrix '0x0 double' into a matrix '0x2 double'
Hello! How can I transform an empty matrix '0x0 double' into a matrix '0x2 double' as in the figure? For example in my case, ...

1 year 前 | 3 个回答 | 0

3

个回答

提问


Find the rows of a matrix A within another matrix B
Hi. I need to find the rows of matrix A (106x2) inside matrix B (172x2). Matrix A should contain the values of all rows within ...

1 year 前 | 2 个回答 | 0

2

个回答

提问


Change condition 'A=253' into 'A(A=253)=0' with multiple values (for example: A=70 and A=253)
Hi. I have this code: value_GS = importdata("value_GS.mat"); value_GS(value_GS=253) = 0; I want to change the last line of th...

1 year 前 | 2 个回答 | 0

2

个回答

提问


Inserting 0s in rows of an array
Hi. I have a matrix A1 and a vector B1. If I have a 0 in any row of vector B1, I need to insert 0s in that same row of matrix ...

1 year 前 | 1 个回答 | 0

1

个回答

提问


create empty row inside a vector
Hi. I need to analyze the rows of the vector 'value_GS_test' and transform only the numbers 254 and 255 (if any) into '[]' while...

1 year 前 | 1 个回答 | 0

1

个回答

提问


error in applying the condition to the if loop
Hi. I need to change all lines with 101 and [100;101] in 'test_2' with '[]' in both 'test_2' and 'test_1'. I succeeded with 101...

1 year 前 | 1 个回答 | 0

1

个回答

提问


split a vector and save it as a cell (1xN)
I have three vectors: vector_1 has numbers from 69 to 98; vector_2 has numbers from 69 to 78 and 82 to 98; vector_3 has numbe...

1 year 前 | 1 个回答 | 0

1

个回答

提问


transform a cell into a column vector
Hi. I have a cell 'test' characterized in the first row by a 29x1 array and in the second row by a 27x1 array. I want to get a...

1 year 前 | 1 个回答 | 0

1

个回答

提问


Apply the color white (255) to some black pixels (0)
I need to apply the color white (255) to some black pixels. For example, in my case I have the geometry of 'circles' (but I ca...

1 year 前 | 2 个回答 | 0

2

个回答

提问


block first row of a cell
Hi. I would like to sort the columns alphabetically or in ascending number order while keeping the rows unchanged. Example: I ...

1 year 前 | 1 个回答 | 0

1

个回答

提问


delete the first and last character inside a char
Hi. How can I do to delete the 0 and A present in each row of the cell? values = {'08126A';'05354A';'01406A';'09630A'}; I am u...

1 year 前 | 2 个回答 | 0

2

个回答

提问


if condition in the case where char is empty
Hi! I generated an empty char: name = ''; I should create an if-end of the following type: if % name is empty name = 'no...

1 year 前 | 1 个回答 | 0

1

个回答

提问


delete special characters (\ / : * " < > |) in char
Hi. I need to transform these lines: name_1 = '<Hello World>'; name_2 ='File numb: 5'; into these: name_1 = 'Hello World'; ...

1 year 前 | 4 个回答 | 0

4

个回答

提问


Increase the number of elements inside a cell
Hi. I have this cell: A = {'5';'11'}; B = {'7';'19'}; out = [A,B]; % cell 2x2 I should go from an 'out' cell 2x2 to an 'out'...

1 year 前 | 2 个回答 | 0

2

个回答

提问


delete columns inside a cell based on null elements
Hi! In this example: union_cell = importdata("union_cell.mat"); I should know whether in the block included by rows 3:5 and co...

1 year 前 | 1 个回答 | 0

1

个回答

提问


delete columns of empty elements of a cell
Hello! I have a cell like this: empty_elem = []; A = {'5','11',empty_elem,empty_elem;'99','169','188',empty_elem;'250','258','...

1 year 前 | 1 个回答 | 0

1

个回答

提问


transform 1x12 cell to 3x4 cell
Hi! I have a cell like this: A = {'5','11','69','85','114','169','188','196','250','258','267','295'}; I want to transform it ...

1 year 前 | 1 个回答 | 0

1

个回答

提问


edit the content present inside one cell
Hi! I have two cells like this: I assume they are not the same as entering them in the same cell gives me the following error...

1 year 前 | 1 个回答 | 0

1

个回答

提问


create separate cells based on the (numbered) files contained in a folder
Hi. I would like to create separate cells based on blocks of numbers. For example: Inside a folder I have 4 files numbered res...

1 year 前 | 1 个回答 | 0

1

个回答

提问


Rename folders using folder names saved in cells
I have a folder 'A' inside which I have numbered folders. I saved the folder numbers inside a cell: cell_numbers = {2;10;22;48}...

1 year 前 | 1 个回答 | 0

1

个回答

提问


store char in a column matrix
Hi. I have a for loop that generates char like this: 'parameter_1' ('parameter_2' and so on). I would like to store them all in...

1 year 前 | 1 个回答 | 0

1

个回答

提问


create matrix (rx1) with the data obtained from the for loop
Hi. I have several numbered folders inside one folder. I would like to sort the obtained dfolders structure by the name field....

1 year 前 | 1 个回答 | 0

1

个回答

提问


organize the inside of the .txt file
How can I organize the data.txt file to get the data_new.txt file?

1 year 前 | 1 个回答 | 0

1

个回答

加载更多