Community Profile

photo

Johan Johan


Last seen: 3 years ago Active since 2018

Followers: 0   Following: 0

Statistics

  • Thankful Level 3

View badges

Feeds

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...

4 years ago | 0 answers | 0

0

answers

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...

4 years ago | 1 answer | 0

1

answer

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...

4 years ago | 0 answers | 0

0

answers

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 ...

4 years ago | 2 answers | 0

2

answers

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);...

4 years ago | 1 answer | 0

1

answer

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...

4 years ago | 2 answers | 1

2

answers

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...

4 years ago | 3 answers | 0

3

answers

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...

4 years ago | 1 answer | 0

1

answer

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(...

4 years ago | 1 answer | 0

1

answer

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 ...

4 years ago | 1 answer | 0

1

answer

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...

4 years ago | 1 answer | 0

1

answer

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] ...

5 years ago | 0 answers | 0

0

answers

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...

5 years ago | 1 answer | 0

1

answer

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...

5 years ago | 1 answer | 0

1

answer

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...

5 years ago | 3 answers | 0

3

answers

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...

6 years ago | 0 answers | 0

0

answers

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)....

6 years ago | 0 answers | 0

0

answers

Question


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

6 years ago | 1 answer | 0

1

answer

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 ...

6 years ago | 1 answer | 0

1

answer

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 ...

6 years ago | 1 answer | 0

1

answer

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...

6 years ago | 1 answer | 0

1

answer

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...

6 years ago | 1 answer | 0

1

answer

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...

6 years ago | 1 answer | 0

1

answer

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 ,...

6 years ago | 0 answers | 0

0

answers

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...

6 years ago | 1 answer | 0

1

answer

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 . ...

6 years ago | 0 answers | 0

0

answers

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...

6 years ago | 1 answer | 0

1

answer

Question


How to define integral function in objective function
I want to minimize the The objective function using least squares method. The objective function is :E=|d(x)-r(x)*Fi|^2 Th...

6 years ago | 0 answers | 0

0

answers