Search Engine **www.edaboard.com**

22 Threads found on edaboard.com: **Iteration Matlab**

hello i have problem i design genetic algorithm program for optimization of umts network after execution the fitness values are the same for all **iteration** i don't know why I'm using continuous GA
anyone here familiar with optimizing base station location using GA

Digital Signal Processing :: 03-24-2016 07:54 :: marya2 :: Replies: **0** :: Views: **433**

In the code below, i am using "for loop" to get values of px for each **iteration** of i. There should just be one value of px per **iteration** or loop, but i am getting three values instead. What could be the error in my code?
clear; clc;
for i = 0:1:4;
for m = 1:1:4;
if i == 0
px = 0.5;
else if i == 2*m-1

Digital Signal Processing :: 09-21-2015 18:02 :: sambezi :: Replies: **2** :: Views: **443**

Hi Joserse,
I've not examined in detail the code (the lack of indentation make it a bit more difficult to identify loops and nesting), but these are some hints:
= Move out the loops calculations that wuold be repeated at each **iteration**.
For instance, sqrt(EB_NO*2) is used a lot of times inside loops, requiring the calculation of a square

Digital communication :: 02-16-2013 21:39 :: zorro :: Replies: **6** :: Views: **761**

Hi everybody,
I got a problem when I try to use **matlab** connecting with CST 2010 and applying GA for simulation antenna. I setup for maximum of **iteration**s (maxit) 100. But my simulation always stopped at the **iteration** of 26th. And a message appeared as "Server threw an exception". **matlab** can not call CST to keep run (...)

Electromagnetic Design and Simulation :: 03-12-2012 21:24 :: trinhvanson :: Replies: **7** :: Views: **2995**

hiii
am a beginner in turbo codes so anyoone can send me a code !!of 6 **iteration** or 4

Digital communication :: 05-20-2012 14:59 :: Remoz :: Replies: **0** :: Views: **640**

Dear all,
I want to know as how to store iterated result in **matlab**.
I'm using a for loop,for every **iteration** of for loop i want to store the output.After completion of all **iteration**s, the outputs are to be added for final result.
In C language we use array.But in **matlab**, i'm not sure as how to code it.
Plz (...)

Digital communication :: 04-14-2012 00:38 :: rahul.6sept :: Replies: **1** :: Views: **1784**

A declaration like that defines the variable as a) existing, and b) being empty.
(Disappointingly, the following lame example of bad programming practice is the best that springs to mind :)
Let's say you have a loop in which a variable dynamically grows with each **iteration***. For example:
for i=1:10
a = ;
end
(This will build a row vec

Analog Circuit Design :: 11-29-2011 18:40 :: thylacine1975 :: Replies: **1** :: Views: **571**

Hi
Try sim() function of **matlab** to execute your model in each **iteration** of loop. Like
fid=fopen('file.txt');
fseek(fid,94,'bof')
n=0;
for (n=0:6)
pause(0.5);
A = fgetl(fid)
A=str2num(A)
sim('your_model');
% Collect output here.
end
fclose(fid);

PC Programming and Interfacing :: 09-10-2011 03:37 :: MHanif :: Replies: **2** :: Views: **1223**

Hello, my question should be simple. I wrote a **matlab** function which i´m using in a User-Defined simulink block. In this block i want to record the output in a vector, so i declare this vector has an emptys one (like a = ;) and than at every **iteration** i want to put the output in this vector. I alsoknow the final dimension of the vector, but ese

ASIC Design Methodologies and Tools (Digital) :: 06-14-2011 03:58 :: always84 :: Replies: **0** :: Views: **686**

1): I am not sure about it, are you asking how to use the calculator's error function ?
2): how about using **matlab** to solve erfc (Error function) or to approximate the Error function by Taylor series, or **iteration** method and etc. within the allowable error range?
For the definition of error function, you can google it.
Hope this may help you.

Digital communication :: 05-10-2011 21:22 :: iamaeag :: Replies: **4** :: Views: **3149**

Hi
I am doing a turbo codec using **matlab**. I finished the encoding part and stuck up with the decoder. I tried using 'vitdec' a ready function available in **matlab**, but i cannot get soft outputs so that i can pass that info to the second decoder and begin the **iteration** process

Digital communication :: 05-09-2010 21:47 :: sudu86 :: Replies: **0** :: Views: **1113**

references to dsplog zf-sic
main.m
M=2;
Es_N0_dB=0:3:30;
**iteration**=50;
blocks=200;
frames=40;
frame_len=1;
erros=zeros(2,length(Es_N0_dB));
for ii=1:length(Es_N0_dB)
ii
for mm=1:**iteration**
for kk=1:blocks
for ll=1:frames
s_in=randint(2,frame_len,M);
%

Digital communication :: 12-26-2009 05:54 :: dsp6414 :: Replies: **0** :: Views: **1472**

Hi, in the Radix-2 algorithm Decimation in time for 2 **iteration** for 8-point DFT, why do we keep the twiddle factor to W(0,8.0) and W(2,8.0) where normally we go in the series W(0,8), W(1,8)...
If I'm not clear, please read my question and look at the implementation of 8-point DFT using 2-point DFT by FFT DIT method
Add

Digital Signal Processing :: 07-09-2009 11:43 :: Communications_Engineer :: Replies: **1** :: Views: **1288**

I am working on building genetic algorithms for opimizing antennas parameters,especially microstrip antennas.
I have used toolbox delivered via Internet for connecting HFSS-electromagnetic solver and GAs optimizer in **matlab** to do my work.However,when I did it,I have faced trouble that the results in each **iteration** have not been updated even thou

Electromagnetic Design and Simulation :: 03-10-2009 23:58 :: haidt111 :: Replies: **2** :: Views: **1536**

hello guyz....
there's a project that need 2 b d0ne here in my uni...
well....i need to find differences between turbo codes and ldpc codes in wireless channel using **matlab**...
these are my specific task...
? number of **iteration**
o how the bit error rate (BER) will change as the **iteration** is increase compared to SNR
? modulation (...)

Digital communication :: 02-11-2008 03:35 :: suenic :: Replies: **1** :: Views: **3586**

Hi,
Could some one please elaborate if it is possible to 'not' have the figure window show up before a jpeg file creation (using print -djpeg command)?
If used in a loop, the plot command takes a long time in creating the window on every **iteration** on the screen, when all I really want is to create a jpeg file afterwards.
Thanks,
/Hunter

Digital Signal Processing :: 11-20-2007 10:52 :: hunter694 :: Replies: **2** :: Views: **993**

its better to put the code so that its easier to answer.
well... in your case i think you can plot the result by making an array of the results at each **iteration**. use the array indices like array(i) ... in the loop/**iteration**.
if this doesn't solve your problem please post your code here.

Software Problems, Hints and Reviews :: 11-06-2007 00:23 :: abaidullah :: Replies: **2** :: Views: **816**

Hi,
I'm simulatin a lecture in FIR filter desigening
I'm to desigen the filter (not using filters in **matlab**)
the desigen scheme is iterative in witch each **iteration** requires 2 FFT computations.
any way, I need an initial estimate & the lecture uses the ideal filter (LP)(rectangular) . I use the fir2... function in order to compute the

Digital Signal Processing :: 05-01-2007 17:34 :: speech :: Replies: **0** :: Views: **1164**

Hi everyone,
is it possible to build an interface link between **matlab** and STK codes?
I explain :
part the output from STK are given to **matlab** code. It elaborates them and gives a feed-back to STK that continues its **iteration**.
It's an iterative process.
Is available a program like that? Any idea?
Thanks in advance,
Lupin

PC Programming and Interfacing :: 12-18-2006 08:54 :: Lupin :: Replies: **0** :: Views: **2202**

Hi all,
I write a loop. Each **iteration**, the program fprintf a line to a file.
When the loop is end, fclose(file_id) execute.
Code like:
file_id=fopen();
loop_begin,
... ...
fprintf();
... ...
loop_end
fclose(file_id);
The problem is when I type Ctrl-C, the loop is interrupted. But the fclose() is not execute and lines a

Elementary Electronic Questions :: 06-25-2005 01:16 :: davyzhu :: Replies: **1** :: Views: **2074**

Ahhh ... read one line per loop **iteration**!
Is this what you have in mind?
fin = fopen('mydata');
while ~feof(fin)
foo = sscanf(fgetl(fin), '%d', );
disp(foo); % replace this with your line parsing code
end
fclose(fin);

Elementary Electronic Questions :: 06-14-2005 03:36 :: echo47 :: Replies: **3** :: Views: **1545**

Oh I see! You want a loop that reads one line from the file per loop **iteration**.
How about this?
fin = fopen('mydata');
while ~feof(fin)
foo = fgetl(fin);
disp(foo); % replace this with your line parsing code
end
fclose(fin);

Elementary Electronic Questions :: 06-14-2005 03:14 :: echo47 :: Replies: **3** :: Views: **2521**

Previous
1
Next

Last searching phrases:

setup time define | digital phase loop lock | microstrip antenna mom | lambtron | orcad layout plus | data acquisition card | cds exe | capacitance inductance | hfss low frequency | matrix pcb

setup time define | digital phase loop lock | microstrip antenna mom | lambtron | orcad layout plus | data acquisition card | cds exe | capacitance inductance | hfss low frequency | matrix pcb