Feeds
질문
How to plot three varibles using matlab
Dear all, I want to plot the three variables into a 3 graphical representation. Please Help me.Kindly download the attachment f...
대략 8년 전 | 답변 수: 3 | 0
3
답변질문
square matrix of order (vector+1 value) formed from a vector and one value?
square matrix of 4X4 should be formed from the vector [1 2 3] i have a value to form four different combination eg. (value=0)...
대략 9년 전 | 답변 수: 0 | 0
0
답변질문
how to code this process need flow control?
For t=1:20 Operations; For i=1:4 If i~=1 Opertions; Else Start from t=1; (change need help) End End End ...
대략 9년 전 | 답변 수: 0 | 0
0
답변질문
exiting if condition and for loop?
for i=1:100 if condition operations; else continue end end here continue will exit out of th...
대략 9년 전 | 답변 수: 1 | 0
1
답변질문
when calling this ndso function getting this error? what can we infer from this?
function [ps,s_ord]=ndso(p,ord) Output argument "s_ord" (and maybe others) not assigned during call to "C:\Users\Aru...
대략 9년 전 | 답변 수: 0 | 0
0
답변질문
for loop start from first operation if df=1?
For a=1:20 Df=0; If condition Operation(a); Condition reset; Df=df+1; End If df==1 ...
대략 9년 전 | 답변 수: 1 | 0
1
답변2
답변질문
logical operation on a varable x
For j=1:20 Here if j=1 or j=20 should not proceed further so how to write a code in for loop End
대략 9년 전 | 답변 수: 3 | 0
3
답변질문
find the values not existing in this array given below and save it?
p1=[8 11 13 6 18 16 10 5 3 4]; p2=[1 7 2 6 16 12 4 10 9 8]; between these two arrays p1 and p2 i wanna get the values no...
대략 9년 전 | 답변 수: 1 | 0
1
답변질문
interchanging the matrix element between two matrix to produce offsprings?
i have two parents p1=[2 3 4 5 1 6 7 9 8 10] p2=[1 3 5 6 7 8 9 10 2 4] step 1: here i wanna change in-between valu...
대략 9년 전 | 답변 수: 1 | 0
1
답변질문
the non dominated sorting to select first 10 from population of 20? here we have three parameters to be checked given row-wise
a=[1182,1258,1190,1267,1383,1288,1246,1257,1337,1182,1344,1336,1279,1300,1416,1334,1341,1236,1281,1419; 5562,5816,5653,5715,...
대략 9년 전 | 답변 수: 0 | 0
0
답변질문
the scheduling problem must vary the elements row wise based on random numbers generated
p=[5 4 3;3 2 1;6 5 3;4 3 2] q=rand(4,3); based on the rank of random numbers generated in q the values in p matrix must ...
대략 9년 전 | 답변 수: 1 | 0
1
답변질문
from random number segregation of values?
x=rand if x is between the range [0 0.30] must assign integer 2 if x is between the range [0.31 0.6] must assign integer 3...
9년 초과 전 | 답변 수: 1 | 0
1
답변질문
in every iteration of ga i wanna get the values generated by vector x(1), x(2) to get the optimized value?
*Program* clc clear all x(1)=randi([6,100]); x(2)=randi([2,4]); fun=@(x) x(1)+x(2)+100; ...
9년 초과 전 | 답변 수: 1 | 0
1
답변질문
psuedocode for my program using GA and PSO is it possible?
Step 1: select h value [2 4] with ga (how to write objective fn for this random selection of h vlaues during every iteration til...
9년 초과 전 | 답변 수: 0 | 0
0
답변질문
i'm getting followig errors when options are used in ga solver
*main function* clear all clc nvars=3; lb=[6 2 2]; ub=[100 4 4]; options = gaoptimset('P...
9년 초과 전 | 답변 수: 1 | 0
1
답변질문
i'm getting Error using ga (line 305) help me
Objective function function z=my_fun(x) z=x(1)+2*x(2)+56*x(3)+100; constrain function function [c]=const(x) ...
9년 초과 전 | 답변 수: 1 | 0
1
답변질문
i'm getting error Error using ga (line 276) Fitness function must be a function handle
*Objective function* function z=my_fun(x) z=x(1)+2*x(2)+56*x(3)+100; *main script* clear all clc nvars=3; ...
9년 초과 전 | 답변 수: 1 | 0
1
답변질문
genetic algorithm coding help error no enough input arguments?
*Objective function* function z=my_fun(a,b,c) z=a+2*b+56*c+100; *constraint function* function [c]=const(a,b,c) c...
9년 초과 전 | 답변 수: 2 | 0
2
답변질문
clarifications regarding bounds optimization using genetic algorithm
i have three bounds only no other inequality constraints this is my constraint function... to optimize it it with ga is this is ...
9년 초과 전 | 답변 수: 1 | 0
1
답변질문
optimize three parameters using genetic algorithm
i have r=x(1)-x(2); y=x(3)-x(2); x=r/y; % how to get an optimized result using genetic algorithm % i have only bounds for ...
9년 초과 전 | 답변 수: 1 | 0
1
답변질문
PSO coding how to declare the Food availability coding?
food avalailabily how to declare that function i dnt know please help..... i have attached my coding below please refer to that ...
9년 초과 전 | 답변 수: 0 | 0
0
답변질문
i wanna save the tau and h values in each iteration for which y values are calculated
>> tau = 6:100; h = [2,3,4]; >> X = bsxfun(@rdivide,tau,h(:)); >> Y = X(rem(X,1)==0); thank you
9년 초과 전 | 답변 수: 1 | 0
1
답변질문
so tau should be divisible by h prefectly or else program should not process further please help me to code
lam=tau/h; lam should be perfectly a whole number. range of tau (6-100) and h=(2,3,4) help me thank you
9년 초과 전 | 답변 수: 0 | 0
0
답변질문
i have 3 bounds how to use it ga toolbox can anyone help me??
function [tim]=coolfn(s,n,alp,x) clc clear all s=1.5; alp=0.0827; n=pi; a=(x(1)-x(2)); b=(x(3)-x(2)); r=s^2; y=4/n; z=...
9년 초과 전 | 답변 수: 0 | 0
0
답변질문
what is the syntax to implement natural logrithamic function (ln) into coding
tim=(x/z)*ln(u); please help me
9년 초과 전 | 답변 수: 1 | 0