Community Profile

photo

Abdolkarim Mohammadi-Balani


Last seen: Today
192 total contributions since 2019

Abdolkarim Mohammadi-Balani's Badges

  • Personal Best Downloads Level 2
  • First Submission
  • 6 Month Streak
  • Knowledgeable Level 3
  • Introduction to MATLAB Master
  • Community Group Solver
  • Revival Level 2
  • Explorer
  • Solver
  • First Review
  • Thankful Level 2
  • First Answer

View details...

Contributions in
View by

Submitted


Golden Eagle Optimizer Toolbox
Source code and user interface for Golden Eagle Optimizer (GEO) and Multi-Objective Golden Eagle Optimizer (MOGEO) metaheuristi...

4 jours ago | 38 downloads |

Thumbnail

Answered
Making a bunch of entity generators to generate variants in a simevents DES system
The best approach for you is as follows: Generate a random number for every variant. Use the minimum value of the array as t...

5 jours ago | 0

Answered
how to assign the service time value of the first entity server to the second entity server?
You can add an attribute to the entities, so that when the entity arrives in the first server, the assigned service time is reco...

5 jours ago | 0

Answered
Grouping entities in SimEvents
You need the MATLAB Discrete Event System or MDES. Your block should have two inputs, two queues, and one output. Input 1 accept...

5 jours ago | 0

| accepted

Answered
Get parallel simulations in objective function of optimization Tool (GA,PSO)
Hi Marcus. I haven't used that File Exchange submission for PSO, but the general workflow in such situations is to: Pass the...

25 jours ago | 0

| accepted

Answered
Simevents: Changing resources in pool
One way is to create a Gate, and not to let entities when the resource is not sufficient. The other way, which is the better but...

environ un mois ago | 0

Question


How to train a deep or shallow network embedded into another system?
I need to embed a deep or shallow network into another algorithm to do certain jobs. How can I calculate the loss function and p...

2 mois ago | 0 answers | 0

0

answers

Answered
structure variable with double vectors in a field using in a SIMEVENT block is not working
One way to achieve what you want is composite entities. It enables you to use a structure-like dot notation in event actions. Se...

3 mois ago | 0

Answered
Fit a power model to the set of data
Type cftool in the command window to open Curve Fitting toolbox. Then you can import your data and fit the power function.

3 mois ago | 0

Answered
Eject entity from server when failure occurs
Generally speaking, failures are preempted entities that does not consume resources. They are generated from another entity gene...

3 mois ago | 0

| accepted

Answered
How to concatenate string cell arrays?
What you need is the Cartesian product of the two sets. MATLAB does not have built-in function, but there are several functions ...

4 mois ago | 0

Answered
Is there a way to call Continue in a loop less script ?
Instead of calling continue directly, you can set a flag in the inner script. The outer script, which contains the loop, uses th...

4 mois ago | 0

| accepted

Answered
Enlarging y-Axis because text description of two points is overlapping
A simple solution is to add horizontal and vertical offset so that you can better control the position of the labels. x = [6...

4 mois ago | 0

| accepted

Answered
Infinite Loop with conditional statement if
The for loop can be broken using break statement. for if break end end https://www.mathworks.com/help/mat...

4 mois ago | 0

Answered
Z must be a matrix, not scalar or vector - surface plot
You use surf when you have z value for each combination of x and y vectors. Here, you have x, y, and z vectors, so you should dr...

4 mois ago | 0

| accepted

Answered
Hi everyone, How do I call functions in simevents for selected queues to halt entities blocking them from departing whenever entities with specific attributes are injected into the system (by a deliberate event).
I think you must implement this complex system with MATLAB Discrete-Event System (MDES) only, since you need to iterate over que...

5 mois ago | 0

Answered
How do you model transfer batching in simevents if you use orders as entities and order quantity as an attribute?
You should use an Entity replicator block, which replicates entities based on the order size. Replicas are production batches af...

5 mois ago | 0

| accepted

Answered
How can I bring 5 variable at 5 different axis angles and plot the correlation coefficient with respect to a base variable.
MATLAB does not have built-in spider plot, AFAIK. The nearest built-in is polarhistogram(). https://www.mathworks.com/help/matl...

5 mois ago | 0

Answered
Plot of 4 variables with dates(years)
You should read the documentation of plot(): https://www.mathworks.com/help/matlab/ref/plot.html All you need is to define c...

5 mois ago | 0

| accepted

Question


Loading timeseries data into the deep network designer
I have read and learnt how to train a deep network for forecasting future values of a timeseries here: https://www.mathworks.c...

5 mois ago | 0 answers | 0

0

answers

Answered
Using for loop to extract data from a matrix
The break statement terminates the for loop: if j > numel(cavity) break end

5 mois ago | 0

| accepted

Answered
PSO algorithm pv system code
You should formulate your problem based on the scientific literature. MATLAB has built-in PSO, but it only handles unconstrained...

5 mois ago | 0

Answered
Calculate trends with regression for columns in MATLAB
You can use parfor (parallel for loop) instead of for. The more CPU cores you have, the more speed you gain. https://www.mathw...

5 mois ago | 0

| accepted

Answered
Creating a function with varying numbers of input parameters
You should use Variable-length input argument list using varargin(). https://www.mathworks.com/help/matlab/ref/varargin.html

5 mois ago | 1

| accepted

Answered
Why SimEvents spends so much time
You should run 1000 simulations using sim() in conjunction with SimulationInput objects. With SimulationInput you can define the...

5 mois ago | 0

Answered
link a custom creation function
1) "If you have a partial initial population, meaning fewer than PopulationSize rows, then the genetic algorithm calls CreationF...

6 mois ago | 0

| accepted

Answered
What information is conveyed by the different colors in Matlab's contourf( ) data plots?
You can turn on the ShowText property of the contour, or add the color bar: x = linspace (-5, 5, 51); y = linspace (-5, 5, 51...

6 mois ago | 0

| accepted

Answered
MATLAB function block error in Simulink
Unlike m-file functions, MATLAB function block does not apply automatic array expansion. The simplest way to overcome is to defi...

6 mois ago | 0

| accepted

Answered
Run a Simulink modell stepwise inside Matlab
You can use MATLAB function block. It is executed on every timestep just like other blocks, and you can return outputs for every...

6 mois ago | 0

Answered
Create 9x9 matrix with RANDI between [0,2] with each 0,1, and 2 repeating three times each per column.
You can first create a vector with the values you need: Reference = repelem (0:2,3)'; Then you initialize the 9x9 matrix with...

6 mois ago | 1

| accepted

Load more