Community Profile

photo

Bartosz Bagrowski


Last seen: quasi 2 anni fa Attivo dal 2022

Followers: 0   Following: 0

Statistiche

  • Thankful Level 2

Visualizza badge

Feeds

Visto da

Risposto
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 ...

quasi 2 anni fa | 0

Domanda


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...

quasi 2 anni fa | 3 risposte | 0

3

risposte

Domanda


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...

quasi 2 anni fa | 1 risposta | 0

1

risposta

Domanda


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...

quasi 2 anni fa | 1 risposta | 0

1

risposta

Domanda


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...

quasi 2 anni fa | 1 risposta | 0

1

risposta

Domanda


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...

quasi 2 anni fa | 1 risposta | 0

1

risposta

Domanda


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,...

quasi 2 anni fa | 1 risposta | 0

1

risposta

Domanda


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 =...

quasi 2 anni fa | 1 risposta | 0

1

risposta

Domanda


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 ...

quasi 2 anni fa | 1 risposta | 0

1

risposta

Domanda


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...

quasi 2 anni fa | 4 risposte | 0

4

risposte