photo

Yro


Last seen: mehr als ein Jahr vor Aktiv seit 2019

Followers: 0   Following: 0

Statistik

All
  • First Submission
  • Thankful Level 3
  • Solver
  • Knowledgeable Level 1
  • First Answer

Abzeichen anzeigen

Feeds

Anzeigen nach

Beantwortet
How to run multiple Matlab (Linux) scripts in other directories?
In case you are interested, this line of code worked. parallel -j0 'cd {//} && sh {/}' ::: $path

mehr als 2 Jahre vor | 0

| akzeptiert

Frage


How to run multiple Matlab (Linux) scripts in other directories?
Hi, I need to run multiple matlab script out of scritp path. I have tried to generate the following bash script using the parall...

mehr als 2 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Why do the random numbers repeat in each run?
Hi, I have the following issue. I see that when I run this function to generate a number of perturbations num_perm to a given ar...

mehr als 2 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


How can I rotate 2D plot in Matlab?
Hi, how can I rotate 2D graphics? I have tried using the view(), camroll() functions but it deforms the figure. I want to rotate...

mehr als 2 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Generate coordinates for plotting a hexagonal mesh with the nsidedpoly function
Hi, I am trying to plot a hexagonal mesh using the nsidedpoly function as shown in the following code. I am taking the coordinat...

mehr als 2 Jahre vor | 1 Antwort | 1

1

Antwort

Frage


Assign a colormap to an array to plot with the nsidepoly function.
Hi, this code plots a hexagonal mesh using the nsidedpoly function, where each hexagon is labeled with the corresponding r-value...

mehr als 2 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


How to use the break command in nested loops?
Hi, I have a problem using the break command in the following code. When I use the break I exit the loop j, but I want to restar...

fast 3 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


How to use the parfor function inside a for loop?
Hi, I am trying to use the parfor function for parallel calculation inside a for loop. I have a problem to define the variables ...

etwa 3 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


How to create concentric circles?
Hello, I want to generate a series of concentric circles by filling each ring with a different color. The result I want to obtai...

mehr als 3 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Find contiguous positions in a hexagonal array.
Hi, I am currently working on an optimization problem using Genetic Algorithms (GA). The image shown in Figure 1 is a pattern ob...

mehr als 3 Jahre vor | 0 Antworten | 0

0

Antworten

Frage


Control random number generation
I have a question about the rng(seed) (random number generator) function. I have a code with which I call several functions in w...

mehr als 3 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


How to assign a given value to an element of an array without repeating it.
Hello, I need to change the value of an element of the array x for a random value but that this is not repeated in the array. Wi...

mehr als 3 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Error using a structure array in a for loop.
Hello, When I use the structure array ('new_popc.Position') in a loop I get the following error after the second iteration: '...

mehr als 3 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Find repeated values in an array, by column and rows (unique function).
Hi, I want to find the repeated vectors in an array where I have n columns and m rows. For example in the following array: ARRA...

mehr als 3 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


How to store values of iterations during a for loop?
I have the following problem, I have three for loops, and I need to store the number of iterations that correspond to the second...

mehr als 3 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Extracting data from an unformatted text file
Hi, I want to extract certain values from an unformatted text file, in the example I use the regexp function entering the form...

mehr als 3 Jahre vor | 0 Antworten | 0

0

Antworten

Frage


How can I find the nonzero values in an cells array?.
The following code generates an cell array Index [1x29], where each cell is an array [29x6]: for i = 1 : size(P1_cell,1) f...

fast 4 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


How to match two arrays
Hi, how can I make the match two following arrays? I want to obtain a 29x1 array with the position of the corresponding match. ...

fast 4 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Cell array construction operator
I want to use GNU Octave to run my simulation but I have the following problem with the following array, for i = 1:length(ARRAY...

fast 4 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Size of each cell
I need to know the size of each cell based on the following code: ARRAY = randi(20,20,2); for i = 1:length(ARRAY) ...

fast 4 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


How to find repeated values in an array?
How can I find repeated values by columns in an array (12x2)? A = 26 24 28 35 31 34 33 31 33 31 33 28 ...

fast 4 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Find repeated values in a matrix
How can I find repeated values at the same time in two columns of an array (12x2): A = [26 24 28 35 31 34 33 31 ...

fast 4 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Reshape an Matlab array
I have the following arrangement (84x2): RELOADING_PATTERN = [... 26 24 26 35 27 34 27 33 26 33 25 34 25 35 ... ] ; ...

fast 4 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Parallel Computing in Optimization Toolbox
I want to use the GA toolbox for optimization but with the parallel option ('UseParallel', true). options = optimoptions(@ga,...

etwa 4 Jahre vor | 0 Antworten | 0

0

Antworten

Frage


Nonlinear inequality in GA optimization with integer constraints
Hi, I am using GA optimization tool. The problem I am solving contains integer constraints (IntCon), but I need to set a non-lin...

etwa 4 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Matlab GA toolbox coupling with external simulation code.
I have the following problem when using GA tool for optimization. My objective function is the result of simulating each populat...

etwa 4 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


Function evaluation control in genetic algorithm
How can I control the evaluation of the function in the global optimization toolbox (genetic algorithm (ga))? I need to export t...

mehr als 4 Jahre vor | 0 Antworten | 0

0

Antworten

Frage


Print population using the Genetic algorithm (ga) function
How can I print the population in each iteration when I use the genetic algorithm package for optimization. Thanks in advance.

mehr als 4 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


How to match two arrays in Matlab
Hi, I want to know if it is possible to match the values of an array (cell by cell) A (:, 1) with an array B (:, 2) so that when...

mehr als 4 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


Storing data in an array from a for loop
Hi, I want to store the array (generations) obtained in each cycle for (95 arrays). With the following code I only get the arran...

mehr als 4 Jahre vor | 1 Antwort | 0

1

Antwort

Mehr laden