Community Profile

photo

Thapaswini reddy


VIT chennai

Active since 2014

Followers: 0   Following: 0

Message

Statistics

Feeds

View by

Question


not enough input arguments error in fitness function code in genetic algorithm optimization
function z = my_fun(x) z(:,1) = 1/(2.0589) +0.02*(1/x(:,1)); x(:,1) = [5,8,5,7,6,5,8,8,5,6,7,5,8,5];

9 years ago | 0 answers | 0

0

answers

Question


how to calculate sum of non zero digits in csd
how to calculate sum of non zero digits in a canonical signed digit using matlab i that digit contains 20 bits

9 years ago | 0 answers | 0

0

answers

Question


how to define fitness function in ga tool box???
fitness=1/f+k(1/SoNZ) where, f=max[H(e^jw)-H(e^jw)] SoNZ=sum of non zero digits in canonical signed digit format how to defi...

9 years ago | 1 answer | 0

1

answer

Question


how to remove this error in converting the filter coefficients into csd format???Warning: Some precision has been lost. Returned value is truncated! > Error using findstr Input strings must have one row.
clc; clear all; close all; N = 13; % filter length Kp = 1; % pass-band weight Ks = 2; % stop-band weight wp = 0.4*pi; % pa...

9 years ago | 0 answers | 0

0

answers