Community Profile

# Johan Johan

##### Last seen: Today
28 total contributions since 2018

View details...

Contributions in
View by

Question

Peak magnitude and peak ripple magnitude
I have a signal how can i know the peak magnitude of it? does it mean '' peak ripple magnitude'',what is the difference betweenp...

19 días ago | 0 answers | 0

### 0

Question

The precision of plot filter design function is different than plot just coefficients of the same function of filter
I'm confused about plotting the design filter with the same precision ,for example i have this coefficients (i found it by usin...

23 días ago | 1 answer | 0

### 1

Question

Extraction the magnitude responce point
I have this code matlab >> w = -pi:pi/500:pi; >> H = freqz(ones(1,10)/10,1,w); >> subplot(211) >> plot(w,abs(H)) >> grid; a...

alrededor de 1 mes ago | 0 answers | 0

### 0

Question

Select numbers from a vector under a specific condition
I have this code for i=1:5; minValue = 0.0251; maxValue = 3.9811 / 5; % Divide by 5 to ensure sum of 5 is less than 3.9811 ...

3 meses ago | 2 answers | 0

### 2

Question

Loop iteration with condition met
I have this program in matlab close clc %%%%%%%%%%%%%%%% Tol = 0.5;ma=10;t=[1 2];B=[];loopEnd=3; myData = zeros(ma,loopEnd);...

3 meses ago | 1 answer | 0

### 1

Question

Binary floating point Representation in Matlab
Floating-point numbers are represented as X=(-1)^s*m*2^c. s: the sign m:matissa c:exponent For example The value 1.984...

5 meses ago | 2 answers | 1

### 2

Question

Solve systems of linear equations Ax = B for x
x = A\B solves the system of linear equations A*x = B. The matrices A and B must have the same number of rows. But ,what is the...

6 meses ago | 3 answers | 0

### 3

Question

Index Vector Operation in Matlab
If the matrix A and the vector b A = 5×5 13 2 3 3 10 14 5 15 7 1 2 9 15...

6 meses ago | 1 answer | 0

### 1

Question

The real-valued amplitude response
Where amplitude response A(w) is continuous and real-valued. How i can write a Matlab function that uses the FFT to compute A(...

6 meses ago | 1 answer | 0

### 1

Question

How can I change a FOTRAN code into a MATLAB code
To convert, followings are some steps i applied : 1. Download and extract f2matlab into your computer 2. In matlab, go to the ...

6 meses ago | 1 answer | 0

### 1

Question

Convergence in genetic algorithm method
Hi I used the genetic algorithm, in general idea about this method ,the convergence and the number of iteration is related b...

7 meses ago | 1 answer | 0

### 1

Question

Multiplying a Vector by a Matrix in matlab
I found this problem in matlab when i want to multiplying a vector by matrix. : n=0:4; r=exp(-j)*n; o=[1 2 0; 3 2 0;5 6 1] ...

alrededor de 1 año ago | 0 answers | 0

### 0

Question

Crossover applications in matlab
I want to apply crossover betweem x1 and x2 x1=[ -1.0000 - 1.0000i 2.0000 - 2.0000i 3.0000 - 3.0000i]; x2=[ -4.0000 - 4.0...

alrededor de 1 año ago | 1 answer | 0

### 1

Question

How to create initial population of 100 random set of coefficient for design filter using genetic algorithm?
The vector contain a 51 coefficients ,and i want to random a vector 100 times (initialization in GA),what is the method ?does it...

más de 1 año ago | 1 answer | 0

### 1

Question

Genetic Algorithm : Lower and Upper Bounds
How to choose the VarMin (Lower Bound of decision Variables) and VarMax (Upper Bound of Variables) of any problem when using th...

más de 1 año ago | 2 answers | 0

### 2

Question

Efficient integral in optimization methods
What is the difference between *trapz* and *integral* function if use them in objection function for optimization with any e...

más de 1 año ago | 0 answers | 0

### 0

Question

the operations in genetic operators
when applicat the genetic algorithm in matlab there is two type of crossover the first type is y1=alpha.*x1+(1-alpha)....

más de 1 año ago | 0 answers | 0

### 0

Question

The point between popc(k,1) and cost -- what does it mean? popc(k,1).Cost=CostFunction(popc(k,1).Position);

más de 1 año ago | 1 answer | 0

### 1

Question

Objective function with array as decision variable
if x is a vector of values, n=10; x = [0.0001 0.0003 0.0007 0.0020 0.0055 0.0148 ... 0.0403 ...

más de 1 año ago | 1 answer | 0

### 1

Question

Real Coded Genetic Algorithm
What controls to using the real encoding in genetic algorithm - the variables which using in the problem - or the initial ...

más de 1 año ago | 1 answer | 0

### 1

Question

How to plot an integral a function handle
I want to plot an integral function, if *'y'* is an arbitrary vector , N=51; I=@(x)norm(exp(-1i*pi*x)- y'.*exp(-1i*pi*x*(0...

casi 2 años ago | 1 answer | 0

### 1

Question

What is the difference between function and objective function in MATLAB ?
To know how to applicate the objective function for in a better way, I want to find the difference between function and objec...

casi 2 años ago | 1 answer | 0

### 1

Question

Dimension of the workspace array
l have this matlab code : N=51; f=[linspace(-1,-.18,164),linspace(-0.1,0.3,80),linspace(.38,1,124)]; d=[zeros(1,164),on...

casi 2 años ago | 1 answer | 0

### 1

Question

Optimization with genetic algorithm
I have this objective function : E = @(x,y) norm((d(x)-r(x).*y).^2); I want to optimize vector *'y'* using ga ,...

casi 2 años ago | 0 answers | 0

### 0

Question

Genetic Algorithm and Direct Search Toolbox
If i want to optimize a problem using genetic algorithm ,what is the appropriate, is it use : the type of matlab code in th...

casi 2 años ago | 1 answer | 0

### 1

Question

Genetic algorithm optimization using toolbox
I want to optimize vector of complex coefficient (Contains negative values), but I wonder how can i chose the right tools . ...

casi 2 años ago | 0 answers | 0

### 0

Question

How represent a discrete-time signal in Matlab ?
Basically need two vectors to represent a signal : - one vector : for horizontal axis (time) . - second vector : for ampli...

casi 2 años ago | 1 answer | 0