Feeds
질문
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년 전 | 답변 수: 0 | 0
0
답변질문
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년 전 | 답변 수: 1 | 0
1
답변질문
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년 전 | 답변 수: 1 | 0
1
답변질문
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년 초과 전 | 답변 수: 2 | 0
2
답변질문
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년 초과 전 | 답변 수: 0 | 0
0
답변질문
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년 초과 전 | 답변 수: 1 | 0
1
답변질문
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년 초과 전 | 답변 수: 2 | 2
2
답변질문
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년 초과 전 | 답변 수: 1 | 0
1
답변질문
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년 초과 전 | 답변 수: 4 | 1
4
답변질문
error in ga optimization code
Here is the code I'm trying to run for optimization function finalResult = OptimizeScript() % Decision variables are the...
6년 초과 전 | 답변 수: 1 | 0
1
답변질문
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년 초과 전 | 답변 수: 0 | 0
0
답변질문
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년 초과 전 | 답변 수: 1 | 0
1
답변질문
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 ...
6년 초과 전 | 답변 수: 0 | 0
0
답변질문
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...
6년 초과 전 | 답변 수: 1 | 0
1
답변질문
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년 전 | 답변 수: 0 | 0
0
답변질문
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년 전 | 답변 수: 1 | 0
1
답변질문
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년 전 | 답변 수: 2 | 0
2
답변질문
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년 전 | 답변 수: 1 | 0
1
답변질문
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년 전 | 답변 수: 2 | 0
2
답변질문
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년 전 | 답변 수: 2 | 0
2
답변질문
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년 전 | 답변 수: 0 | 0
0
답변질문
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년 전 | 답변 수: 1 | 0
1
답변질문
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년 전 | 답변 수: 0 | 0
0
답변질문
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년 전 | 답변 수: 1 | 0
1
답변질문
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년 전 | 답변 수: 1 | 0
1
답변질문
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년 전 | 답변 수: 1 | 0
1
답변질문
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년 전 | 답변 수: 1 | 0
1
답변질문
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년 전 | 답변 수: 1 | 0
1
답변질문
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년 전 | 답변 수: 1 | 0
1
답변질문
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년 전 | 답변 수: 1 | 0