Bartosz Bagrowski
Followers: 0 Following: 0
Feeds
已回答
Reveresing the order of columns in an array
I meant changing the order of the columns in such a way: q=[1 2; 3 4; 5 6; 7 8; 9 10; 11 12] i1=2 i2=6 qnew=[1 2; 11 12; 9 ...
Reveresing the order of columns in an array
I meant changing the order of the columns in such a way: q=[1 2; 3 4; 5 6; 7 8; 9 10; 11 12] i1=2 i2=6 qnew=[1 2; 11 12; 9 ...
2 years 前 | 0
提问
Reveresing the order of columns in an array
Hi guys, I would like to write a code to reverse the columns order as in a following example: q=[1 2 3 4, 5 6 7 8, 9 10 11 1...
2 years 前 | 3 个回答 | 0
3
个回答提问
Inserting a column in an matrix array
Hi guys, I would like to write a code to insert the column insert a whole column in an array as in a following example: q=[1...
2 years 前 | 1 个回答 | 0
1
个回答提问
Swaping two columns randomly picked
Hi guys, I would like to swap two columns randomly picked in an array. I wrote such a code and I would be glad if you could he...
2 years 前 | 1 个回答 | 0
1
个回答提问
How to create many matrixes in one structure?
Hi guys, I faced such a problem. I have two functions: 1) function sol = CreateRandModel(model) 2) function qnew = CreateNei...
2 years 前 | 1 个回答 | 0
1
个回答提问
Applying one function in another function
Hi guys, I have two functions: 1) function sol = CreateRandModel(model) 2) function qnew = CreateNeighbor(q,model) as an out...
2 years 前 | 1 个回答 | 0
1
个回答提问
Reading the data from another m file in a loop
Hi guys, I created two functions, in the second one I'd like to read the data from the first one like this but in a smarter way,...
2 years 前 | 1 个回答 | 0
1
个回答提问
Two functions, how to read parameters created in one function in another function?
Hey, I wanted to create two functions: function model = CreateModel() p1 = 1; p1 = p1*30; p2 = 50; P = [p1 p2]; model.P =...
2 years 前 | 1 个回答 | 0
1
个回答提问
Reading the data from one m file in another m file
Hey guys, I would like to create two functions: function model = CreateModel() function sol=CreateRandModel(model) In the ...
2 years 前 | 1 个回答 | 0
1
个回答提问
Reversing a part of matrix
Hey, I would like to choose two random values in a matrix and reverse from the first random number to the second one. i=randsam...
2 years 前 | 4 个回答 | 0