photo

Arunachalam D


Anna University

Active since 2015

Followers: 0   Following: 0

Message

Statistics

  • Thankful Level 1

View badges

Feeds

View by

Answered
How to plot three varibles using matlab
i wanted to be like a surface plot

8 years ago | 0

Question


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 years ago | 3 answers | 0

3

answers

Question


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 years ago | 0 answers | 0

0

answers

Question


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 years ago | 0 answers | 0

0

answers

Question


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 years ago | 1 answer | 0

1

answer

Question


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 years ago | 0 answers | 0

0

answers

Question


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 years ago | 1 answer | 0

1

answer

Question


skiping code after line 20
Skip the coding after line 20 in script window

9 years ago | 2 answers | 0

2

answers

Question


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 years ago | 3 answers | 0

3

answers

Question


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 years ago | 1 answer | 0

1

answer

Question


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 years ago | 1 answer | 0

1

answer

Question


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 years ago | 0 answers | 0

0

answers

Question


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 years ago | 1 answer | 0

1

answer

Question


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 years ago | 1 answer | 0

1

answer

Question


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 years ago | 1 answer | 0

1

answer

Question


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 years ago | 0 answers | 0

0

answers

Question


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 years ago | 1 answer | 0

1

answer

Question


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 years ago | 1 answer | 0

1

answer

Question


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 years ago | 1 answer | 0

1

answer

Question


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 years ago | 2 answers | 0

2

answers

Question


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 years ago | 1 answer | 0

1

answer

Question


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 years ago | 1 answer | 0

1

answer

Question


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 years ago | 0 answers | 0

0

answers

Question


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 years ago | 1 answer | 0

1

answer

Question


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 years ago | 0 answers | 0

0

answers

Question


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 years ago | 0 answers | 0

0

answers

Question


what is the syntax to implement natural logrithamic function (ln) into coding
tim=(x/z)*ln(u); please help me

9 years ago | 1 answer | 0

1

answer