photo

ash


Active since 2017

Followers: 0   Following: 0

Message

Statistics

  • Thankful Level 3

View badges

Feeds

View by

Question


this code of BAT algorithm is not working..function i wrote i last three lines..plz guide me
function [best,fmin,N_iter]=bat_algorithm(para) % Display help help bat_algorithm.m % Default parameters if n...

6 years ago | 0 answers | 0

0

answers

Question


In the code if i am changing the power of xdata from 0.1 to 0.9 i am getting same coefficient values 0.2000 10.00 10.00 of x1,x2 and x3. please suggest me what changes are required???
xdata =[10.^(-3) 10.^(-2) 10.^(-1) 1 10.^(1) 10.^(2)]; ydata=(0.5012./(xdata.^2+1.8*xdata+2.2 )); fun=@(x)sum(x(1)./((x(2).*xd...

6 years ago | 0 answers | 0

0

answers

Question


why a coefficient in optimization goes out of the bound???In my problem it is going out of lower bound.
In Interior search optimization for filters, value of one coefficient is equal to lower bound then if i am increasing the order ...

6 years ago | 0 answers | 0

0

answers

Question


Can i make 3d plot other than surf plot from these three values??? and how???
x=[0.2 0.2 0.5 0.5 0.8 0.9 ]; y=[0.8 0.9 0.8 0.9 0.9 0.5]; z=[0.9329 0.7530 0.9241 0.7058 1.0344 1.1110];

6 years ago | 1 answer | 0

1

answer

Question


I need all data points of magnitude and phase response of bode plot from figure.
I need all data points of magnitude and phase response of bode plot from figure.i need all coordinates of (mag,freq) and (phase,...

6 years ago | 1 answer | 0

1

answer

Question


This code is working but in every run i am getting different value of x(1),x(2) and x(3)..kindly solve this problem...its very urgent
xdata =[ 10.^(-5) 10.^(-4) 10.^(-3) 10.^(-2) 10.^(-1) 1] ; ydata=(0.2575./((xdata.^2)+(0.333.*xdata)+1)); parameterized...

6 years ago | 1 answer | 0

1

answer

Question


this code is giving same values of x irrespective of change in the power of xdata in fun???i am changing power 0.5 to 0.9 no change in output??
xdata =[10.^(-5) 10.^(-4) 10.^(-3) 10.^(-2) 10.^(-1) 1]; ydata=(0.2575./((xdata.^2)+(0.333.*xdata)+1)); fun=@(x)sum(x(1)...

6 years ago | 1 answer | 0

1

answer

Question


in every run i am getting different value of x..????
xdata =[ 1 2 3 4 5 6] ; ydata=(1./(xdata.^2+2*xdata+4)); FitnessFunction = @(x) sum((x(1)./(x(2).*xdata.^1.9+x(3).*xdata.^0.9+...

6 years ago | 0 answers | 0

0

answers

Question


GA is not working...Function i have written separately calling in main program but not worked??
xdata =[ 1 2 3 4 5 6] ; ydata=(1./(xdata.^2+2*xdata+4)); FitnessFunction = @simple_fitness; numberOfVariables = 3; x =ga(@g...

6 years ago | 1 answer | 0

1

answer

Question


i want to plot transfer function G ,how to do it???G=(((0.2274.*(4.7372.*(s).^(1+0.9)+1)))./((9.9944.*(s).^(1+0.9)))+0.3610.*(s).^(0.9)+1))));
G=(((0.2274.*(4.7372.*(s).^(1+0.9)+1)))./((9.9944.*(s).^(1+0.9)))+0.3610.*(s).^(0.9)+1))));

6 years ago | 1 answer | 0

1

answer

Question


i am getting error in last line. i want to find the value of x1,x2 and x3. please help me..
xdata =[10.^(-5) 10.^(-4) 10.^(-3) 10.^(-2) 10.^(-1) 1]; fun = @(x)x(1)./((x(2).*(xdata.^(1+0.9)))+x(3).*(xdata.^(0.9))+1);...

6 years ago | 1 answer | 0

1

answer

Question


From magnitude response of an analog low pass filter, how to get -3dB frequency in MATLAB
From magnitude response of an analog low pass filter, how to get -3dB frequency in MATLAB

7 years ago | 0 answers | 0

0

answers

Question


this is my code i am getting error with x = simulannealbnd(ObjectiveFunction,X0,ydata,lb,ub). can help me to resolve it
function y = parameterized_objective(x,xdata) y =x(1)./((x(2).*(xdata.^(1+0.9)))+x(3).*(xdata.^(0.9))+1); ydata=(0...

7 years ago | 1 answer | 0

1

answer