Feeds
提问
Pull same column of cell from same variable, different .mat files
Hi. I want to ask about my problem. I have 30 .mat files. from results1.mat, results2.mat, results3.mat, until results30.mat...
7 years 前 | 1 个回答 | 0
1
个回答提问
Save run a .m file and rename a file in a loop
Hi. I want to ask. Is there anyway to run a .m file and rename a saved file by increment the number in the end of name, like ver...
7 years 前 | 1 个回答 | 0
1
个回答提问
Calculate a matrix based on value from another matrices
Hi. I want to calculate new value in matrix C and based on conditions from value of matrix P and R. R= [1 -0.136 0.036...
7 years 前 | 1 个回答 | 0
1
个回答提问
Sort row by descending error
Hi. I have a cell like this. A= 'Q7' [ 0] 'Q12H' [-3] 'Q12G' [ 0] I want to sort by...
7 years 前 | 3 个回答 | 0
3
个回答提问
Sort and add value from same neighbour value
I have a calculation problem and need anyone help to solve it. out = 'Q7' [ 0] 'Q12G' [ 0] 'Q12G' ...
7 years 前 | 1 个回答 | 0
1
个回答提问
To combine different cells with empty columns together
Hi. I want to combine three different cells in a cell with additional empty columns.. funct1 = 'Q7' 'Q12F' ...
7 years 前 | 2 个回答 | 0
2
个回答提问
To put score value based on neighbor column position value in same row
Hi. I have a cell funct. funct = 'Q7' [] 'Q12G' [] 'Q12G' [] 'Q12F' [] 'Q12H' [] 'Q...
7 years 前 | 3 个回答 | 0
3
个回答提问
Check and eliminate rows based on conditions 2
Hi. I have a matrix as below. I need help to code this problem. A = [1.0000 -0.1367 0.0366 0.2431 ...
7 years 前 | 1 个回答 | 0
1
个回答提问
Arrange string based on 1 or 0 value
Hi. I have question regarding to cell string and matrix. I have matrix F and cell string D. I want to create another cell string...
7 years 前 | 2 个回答 | 0
2
个回答提问
Short code to calculate and display value of matrix based on condition
Hi. I want to calculate new value in matrix C and based on conditions from value of matrix P. I want to display values cell stri...
7 years 前 | 3 个回答 | 0
3
个回答提问
Check and eliminate rows based on conditions.
Hi. I have a matrix as below. I need help to code this problem. A= 1 0 0 0 0 0 0...
8 years 前 | 1 个回答 | 0
1
个回答提问
how to set more than 1 value to this code?
Hi...this is my code. rs = m; n=7; OFF = [m n]; A=zeros(m,n); B = repmat(eye(n),ceil(m/n),1); i1 =...
12 years 前 | 1 个回答 | 0
1
个回答提问
To change value based on algorithm
Hi and Salam. I have a matrix as below: A = [11 1 11 11 11 11 11; 11 22 1 11 11 11 11; 11 11 11 1 33 11 1...
12 years 前 | 1 个回答 | 0
1
个回答提问
To set value based on condition in a matrix
Hi. I have a problem to set up value in a matrix. I have a A=m*n matrix. For example, m=13, and n=7. So, my coding will be like ...
12 years 前 | 3 个回答 | 0
3
个回答提问
Extract background with similar color, but maintain the object original color
Hello. I want to ask you because I'm not very familiar with matlab image processing. I have a collection of image files. There...
12 years 前 | 1 个回答 | 0
1
个回答提问
To put colour in specific cells in uitable GUIDE.
1. In a uitable, I have a set of matrix as below: a=[0 0 0 0 1 1 0 0; 0 0 0 0 0 0 0 0; 0 0 0 0 0 1 1 1; 1 0 0 0 0 0 0 0] ...
13 years 前 | 1 个回答 | 0
1
个回答提问
To code based on percent in a matrix.
a=[0 0 0 0 1 1 0 0; 0 0 0 0 0 0 0 0; 0 0 0 0 0 1 1 1; 1 0 0 0 0 0 0 0] I need to replace zero value in a m x n matrix with val...
13 years 前 | 1 个回答 | 0
1
个回答已回答
To change value in cells based on conditions
i still get error for my answer, maybe we need to change a bit of this coding? I was trying this code based on your code, but st...
To change value in cells based on conditions
i still get error for my answer, maybe we need to change a bit of this coding? I was trying this code based on your code, but st...
13 years 前 | 0
提问
To change value in cells based on conditions
I have coding as below. a=[11 11 33 33 22 44; 33 33 33 11 11 22; 33 33 11 22 22 44; 44 44 33 22 44 11] I need to change the ...
13 years 前 | 4 个回答 | 0
4
个回答提问
To check coding
I have coding as below. a=[11 11 33 33 22 44; 33 33 33 11 11 22; 33 33 11 22 22 44; 44 44 33 22 44 11] s = size(a); b...
13 years 前 | 1 个回答 | 0
1
个回答提问
To choose and shift an element randomly
I have a matrix as below: a=[11 11 22 22 33 33; 22 22 33 33 44 44; 44 44 11 11 22 22] a= 11 11 22 22 33 33 22 22 33 ...
13 years 前 | 1 个回答 | 0
1
个回答提问
How to arrange rows in uitable?
I have 2 matrices as below: A=[1 2 3 0;1 2 4 5;0 9 7 0;1 3 4 6]; A=num2cell(A) penalty=[-10; -20; -30; 0] I need to d...
13 years 前 | 2 个回答 | 0
2
个回答提问
To calculate value in a uitable
In a uitable table, I have produce a matrix as below: >> a= [1 1 1 2 2 3 3 3 4 ; 3 3 1 4 4 4 3 1 1; 3 3 2 4 1 1 1 3 2] a =...
13 years 前 | 1 个回答 | 0
1
个回答提问
To put value in the specific column of uitable
A uitable is constructed like this: a=[1 2 3 0;1 2 4 5;0 9 7 0;1 3 4 6]; a=num2cell(a) First the matrix is like this: 1 2 3 0...
13 years 前 | 1 个回答 | 0
1
个回答提问
To transfer value of cell in uitable with another cell
A uitable is constructed like this: a=[1 2 3 0;1 2 4 5;0 9 7 0;1 3 4 6]; a=num2cell(a) First the matrix is like this: ...
13 years 前 | 1 个回答 | 0
1
个回答已回答
How to transfer value in a matrix?
First the matrix is like this: 1 2 3 0 1 2 4 5 0 9 7 0 1 3 4 6 Next the matrix will become like this: 1 2 3 1 2 4 5 9 7 ...
How to transfer value in a matrix?
First the matrix is like this: 1 2 3 0 1 2 4 5 0 9 7 0 1 3 4 6 Next the matrix will become like this: 1 2 3 1 2 4 5 9 7 ...
13 years 前 | 0
提问
How to transfer value in a matrix?
I have create a matrix for a table as below a=[1 0 0 1 3;2 3 1 7 0;1 1 1 2 3] Therefore I need to construct the code based on ...
13 years 前 | 1 个回答 | 0
1
个回答提问
How to transfer value of a array to another array?
I have a problem to solve. How we can transfer value of one array to another array? For example,the sample code are as below: ...
13 years 前 | 1 个回答 | 0
1
个回答已回答
Second problem uitable
may i know how to solve the problem of uitable. I have input in a 3x15 cells with random number. So, I want to keep some cells u...
Second problem uitable
may i know how to solve the problem of uitable. I have input in a 3x15 cells with random number. So, I want to keep some cells u...
13 years 前 | 0