Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.
To subtract the output of a for loop manipulation sequentially from a data set
[MODERATED] Thread duplicated, merged with the above
Please i need hint on how to make the output of this for loop (N) to be subtract from M sequentially without skipping any of the numbers. I tried this...
Please i need hint on how to store the output from a for loop multiplication horizontally and then subtract it from a data set arranged horizontally to get the sum .An example is shown below though not the whole manipulation code. I want the computer to do the subtraction as...
Please i need hint on how to manipulate the output from a for loop do summation of differences between that output and a data set. An example is shown below. I tried it but it only computed the sum for the first for loop neglecting the other data set.
for f = [1 4 8 10 14]...
Please I need syntax on how I can export the results from a GA tool box that is too large to be displayed on it to workspace i.e using matlab prompt so that I can view all the results. I have it on my matlab prompt as: "The variable 'optimresults' has been created in...
I need syntax to make z to be increasing and decreasing by 10% over 20 sections as inputs and display 20 outputs as shown below :That is first section z = 220(10% increase) , second section = 198 (10% decrease) and so on.
f = 100;
z = 200 ;% how to make it to be...
Please i need hint on how to manipulate the output from a for loop do summation of differences between it and a data set one at a time. An example is shown below. I tried it but it only computed for the first for loop data neglecting the other data set.
for f = [1 4 8 10];
b=2;
c=1;
d=1...
Hi Please how can increase the Genetic Algorithm tool box output display space to accommodate 50 outputs. Presently I see that I can only visibly read 20 outputs from the output display i.e. x(1) to x(20) instead of x(1) to x(50) requested outputs display on the GATOOL BOX output space.
Hi Friends,
Please can anyone help me correct this GA code to minimize measured and predicted results to extract the three parameters and calculate the root mean square error.I got an error message when I run it using the matlab gatool.
function Ap = attenuation(x)
L1=3;
Zcd1=x(1);
L2= 24...
Hi
Can anyone help with codes in matlab to read meas
ured data to be compared with simulation results using fitness function in genetic algorithm optimization .
Fitness function = Σ(Am-Ap)/n
Where Am is the measured data ,Ap is the simulated data , n is the number of measured data...
Hi All, Please can anyone explain how one can use genetic algorithm in MATLAB to optimize simulated S-parameters of a transmission line very close to measured values and then extract the input parameters that gives the best S-parameters results to measurements.
Please can anyone help me with this for loop program. I have this problem with making the outputs from the for loop do serial multiplication.
f = 25 ;
for m = 0:10:80;
Zcb = 104.5;
l = 3.75e-3 ;
Zo = (1 + (0.055*(1-1i))/sqrt(f));
n = 800 ;
x = 1;
P = 800;
Z1 = 1+((m)*sin(2*pi*n*x/P))...
Obtain an output in sequential multiplication using matlab
Hi all,
Can anyone help with proper codes in matlab to implement the program below:
% constants
n = 1
x = 1
P = 4
Zc = 95
Zo = 100
% perform computations
m = 1:10:800; % range of m to be computed
ZB = 1+((m)*sin(2*pi*n*x/P))...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.