photo

summyia qamar


Active since 2016

Followers: 0   Following: 0

Message

Statistics

  • Thankful Level 4

View badges

Feeds

View by

Question


variables in array form for ga optimization
I have a problem with 2 parts and 3 machines assignment..each part as 2 routings.say P1 1st row is for route 1 and 2nd row is ro...

6 years ago | 0 answers | 0

0

answers

Question


generate increasing exponential series for 10 numbers with sum equal 1.
I want to generate 10 numbers in increasing manner such that their sum equals 1.. for example; .1+.1+.1+.2+.2+.3=1 in such a way...

6 years ago | 1 answer | 0

1

answer

Question


sum of a vector with non zero elements of matrix without using loop
I have a matrix *T* and vector *M* say T=[0 0 1 0 0 0 1 0 0 0 0 1 0 0 0 1 0 0 1 1...

6 years ago | 1 answer | 0

1

answer

Question


sum all successive values in matrix row
I have a vector *A* which represents 10 machines defect rate. Matrix *B* shows a process plan in each row in which the elements ...

6 years ago | 2 answers | 0

2

answers

Question


replace some elements to zero if they are not NaN
I have a matrix A=[2 3 NaN NaN 3 NaN NaN 9 9 9; 3 4 NaN NaN 3 NaN NaN 9 5 8; 1 2 NaN NaN 4 NaN NaN 8 7 9] I ...

6 years ago | 0 answers | 0

0

answers

Question


overwrite cell array in a loop
the code is given below; *parts(day)* are calculated using some data which is let say comes out as 3 4 2 for day 1 2 3. complet...

6 years ago | 1 answer | 0

1

answer

Question


multiple graphs in one script
I am runny a loop over set of function and in the end I want some graphs of different data. there are three variables let say a,...

6 years ago | 2 answers | 2

2

answers

Question


How Replicate module can generate variable number of replications using a signal in SimEvents?
If the signal is *number of items departed from a server* or *number of entities in a queue* and I want *replicate* module to ge...

6 years ago | 1 answer | 0

1

answer

Question


Iterate over vector from result of a for loop
I have a vector *capacity* and I want to iterate over this vector in such a way that that in every iteration 480 is subtracted f...

6 years ago | 4 answers | 1

4

answers

Question


error in ga optimization code
Here is the code I'm trying to run for optimization function finalResult = OptimizeScript() % Decision variables are the...

6 years ago | 1 answer | 0

1

answer

Question


Using one Resource Acquirer for multiple resource types
I want to select resource based on entity type which is flowing in the system. here the entity block is generating entities with...

6 years ago | 0 answers | 0

0

answers

Question


Assigning Attributes to the entity in simulink
I want to generate parts from a single Entity Generator block. the attributes attached with the parts are *Part type* and *Servi...

6 years ago | 1 answer | 0

1

answer

Question


conditional entity generation in simevents
Is it possible to generate entity from entity generator with a condition that when the queue attached with the entity generator ...

7 years ago | 0 answers | 0

0

answers

Question


Entity generation in SimEvents
I want to generate 5 entities at the start of simulation and then single entity with fixed interval (idea of having initial inve...

7 years ago | 1 answer | 0

1

answer

Question


Error in plotting multiple signals on one scope in matlab 2017b
below is my simevents model. <</matlabcentral/answers/uploaded_files/101607/Capture.JPG>> i want to get combined graph of...

7 years ago | 0 answers | 0

0

answers

Question


Assign Beta distribution to set of integers
I have a column vector x=[6.1000 9.4000 8.1000 3.2000 6.5000 7.2000 7.8000 ...

7 years ago | 1 answer | 0

1

answer

Question


how can I improve the logic of this code
Im trying to build a relation between supply demand and price using 3 equations. the code I've generated is given below cle...

7 years ago | 2 answers | 0

2

answers

Question


cobweb graph for 3 equations
can I draw the cobweb graph of following *Q* and *D* and *P*? clear all; clc; N=60; D=zeros(1,N); %demand Q=zer...

7 years ago | 1 answer | 0

1

answer

Question


error in displaying graph
I'm solving the following code but the graph is not showing result of "D": N=10; D=zeros(1,N); %demand Q=zeros(...

7 years ago | 2 answers | 0

2

answers

Question


Error "Not enough Input Arguments" in predator-prey model
I'm trying to understand the working of ODE45 to solve multiple variable equations. I copied a code from internet but when I run...

7 years ago | 2 answers | 0

2

answers

Question


how to add matrices with one dimension same and other dimension different such that each element is added to every other element?
I have matrices A=2x2 B=2x4 C=2x2 I want result in a matrix D=2x16 for example A=[1 3; 2 4] B=[3 2 4 2; ...

8 years ago | 0 answers | 0

0

answers

Question


why matlab not calculating all values in loop?
I'm running this code on matlab but in the last loop matlab is just displaying answers of last column and not all loop values. ...

8 years ago | 1 answer | 0

1

answer

Question


how to plot 2 factors analysis data in matlab?
I have done a factorial design analysis of 2 variables (A,B)using *3 levels of A (A1,A2,A3)*,and *2 levels of B (B1,B2)* of each...

8 years ago | 0 answers | 0

0

answers

Question


how to check the values of each variables from resultant of 3 variables?
I have sum of 3 cell arrays A=72x1 B=72x720 C=72x90 resultant=72x64800 now when I find the minimum value with row...

8 years ago | 1 answer | 0

1

answer

Question


error in calling a variable from another mat file
after doing some coding I have run a loop and saved values in cell R for r=1:En R{r} =E(Ec+Ea(r,:),:); end I h...

8 years ago | 1 answer | 0

1

answer

Question


how to make multiple .m files from same data and then add the result of all in one file?
the data required for evaluating different functions is this no_of_machines=6; no_of_cells=3; No_of_Parts = 12; Ma...

8 years ago | 1 answer | 0

1

answer

Question


how to combine the result of 3 loops in one cell array with 2 dimensions?
I run loop over 3 variables for i=1:64 for j=1:630 for k=1:8 A='do somthing over (i,j)' B='do something with ...

8 years ago | 1 answer | 0

1

answer

Question


why the answer is not showing any matrix after applying IF condition?
can anybody please check this code. After running this, I cannot find any cell named *allCells_array* 1st it generates combinat...

8 years ago | 1 answer | 0

1

answer

Question


how to extract matrices from a cell based on column sum of each matrix?
I have a *cell A* which contains *1806 matrices*. each matrix is a *binary matrix with 7x3 size.*. I want to extract only those ...

8 years ago | 1 answer | 0

1

answer

Question


how to make a code for distributing n different things among r groups such that each group get atleast certain amount?
if I have 7 machines and I want to distribute them in 3 groups with all possible combinations such that each group has atleast 2...

8 years ago | 1 answer | 0

1

answer

Load more