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年以上 前 | 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年以上 前 | 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年以上 前 | 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年以上 前 | 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年以上 前 | 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年以上 前 | 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年以上 前 | 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年以上 前 | 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年以上 前 | 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年以上 前 | 4 件の回答 | 0