Search Engine **www.edaboard.com**

1000 Threads found on edaboard.com: **Grid Matlab**

I have to solve sub **grid**(irregular) fdtd with **matlab**.
I hope some one can upload this code.
Please~~~~~~!!!

Electromagnetic Design and Simulation :: 05-01-2006 09:35 :: upquark :: Replies: **1** :: Views: **1464**

I need **grid** based clustering algorithm (code) for **matlab** (or C++).. I can't find it anywhere... Please help.. Something simple that works.. STING, WaveCluster, Clique, Opti**grid** or something else..
I'm writing a paper about **grid** based clustering and I need to attach code to show how it works.. If anyone knows, please (...)

Digital Signal Processing :: 02-07-2010 15:40 :: sanjushka :: Replies: **2** :: Views: **2279**

Hi,
I would like to request somebody to help me in the following **matlab** problem:
I want to propagate a converging optical beam down its focus. I have started with a 1024 x 1024 number of **grid** points across the beam ( an uniform circle of white colour inside a background square of black colour------the size of the square is 6.5 mm x 6.5 mm a

Heuristic methods, Machine Learning, AI, and Soft Computing :: 04-29-2012 15:49 :: Bandyopadhyay :: Replies: **0** :: Views: **1357**

Hi. I need to **matlab**/simulink model for **grid** connected to photovoltaic. please send mdl file to my email: mehran.moslehi1987@gmail.com.

Analog Circuit Design :: 07-16-2012 08:53 :: mehran_66 :: Replies: **0** :: Views: **555**

Hi. I need to **matlab**/simulink model for **grid** connected to photovoltaic with only inverter. with out dc dc converter.

Analog Circuit Design :: 10-26-2014 17:56 :: bouhafsali :: Replies: **0** :: Views: **91**

I'm a beginner in FDTD programing.
Anyone have a **matlab** code to solve the irregular **grid** problem??
THX

Electromagnetic Design and Simulation :: 02-10-2003 12:39 :: ppAntenna :: Replies: **21** :: Views: **21072**

little **matlab** demo of fractional derivative..enjoy
N=256;
t=pi*/N;
f=exp(-(t.^2)/(0.5));
f=f-mean(f);
F=fftshift(fft(f));
figure(1);clf;set(gcf,'Renderer','zbuffer');
for n=0:0.1:4
Fn=(j*t).^n .* F;
fn=ifft(fftshift(Fn));fn=fn/max(abs(fn));plot(real(fn));
text(20,1.0,sprintf('%0.2f',n));
**grid** on;axis( [0 2*N -1.

RF, Microwave, Antennas and Optics :: 04-18-2003 18:24 :: rntsay :: Replies: **6** :: Views: **5047**

little **matlab** demo for fractional fft...enjoy
N=64;
t=2*pi/N*;c=1;
for k=-N/2:N/2 B(c,:)=1/sqrt(N+1)*exp(-j*k*t);c=c+1;end;
f=exp(-t.^2);
f=f-min(f);
f=f';
figure(1);clf;set(gcf,'Renderer','zbuffer');
for n=0:0.1:2.0
Bn=B^n;fn=abs(Bn*f);plot(fn,'b');hold on;plot(f,'r--');hold off;
text(10,1.7,sprintf('%0.2f',n));

RF, Microwave, Antennas and Optics :: 04-18-2003 18:25 :: rntsay :: Replies: **0** :: Views: **1749**

Hi,
I think you may have a problem with that, since **matlab** hasn't 3D polar plot instruction.
However I use a spherical triangular **grid** (either imported as ASCII from any 3D graphing tool, or generated manually) then use PATCH3 instruction to plot the triangles with the color being proportional to the radiation intensity (or gain in that dire

RF, Microwave, Antennas and Optics :: 04-08-2005 06:14 :: adel_48 :: Replies: **3** :: Views: **8033**

I do have a S(f) calculated and now I made a x-y coordinate system using this code
subplot(2,2,1);
semilogx(f,real(S11));
xlabel('Frequency');
ylabel('Real(S11)');
title('Real(S11) = Real(S22)');
**grid**;
As a figure I get empty drawing so i'm interested how to plot the line for the S that i have calculated.What is the co

Software Problems, Hints and Reviews :: 04-26-2005 13:50 :: Meklaud :: Replies: **4** :: Views: **1458**

There are several aspects of this. The first is the legal aspect. The owner of your power **grid** may need to give you specific permission to do this.
The technical aspects are just the same as for a steam generated power plant. You have to adjust the voltage and phase angle relative to the **grid** to make real (not reactive) power flow into the

Embedded Systems and Real-Time OS :: 05-15-2005 18:18 :: flatulent :: Replies: **7** :: Views: **1865**

I'm facing problems trying to implement an algorithm i have been thinking in **matlab**...
Here's what i want to do...
I have a number of cells(say n cells) (or cities, or points or whatever). The cells are not all connected each other. Some cells are connected with some neighbor cells but no one else. I know the connections. What i want to do is t

Electronic Elementary Questions :: 08-07-2005 10:02 :: ramone :: Replies: **1** :: Views: **797**

/******************************************************************************/
/* MAIN_C
/******************************************************************************/
#include
#include "**grid**Tree.h"
/* THE **grid**
|-----------------------------------------------
| |

Electronic Elementary Questions :: 08-12-2005 13:30 :: ramone :: Replies: **5** :: Views: **898**

hi
i ran your program in **matlab** 7 and it worked successfully.
i think error belong to "angle" because it is one of **matlab** functions.
use:
r = 1.2; theta = 10*pi/180;
ang = 0:theta:36*theta; mag = r.^(ang/theta);
polar(ang,mag)
**grid**
title('Polar Plot')

Electronic Elementary Questions :: 01-09-2006 00:47 :: hr_rezaee :: Replies: **5** :: Views: **12336**

there is an example
x=0:10:1e6;
semilogx(x,log10(x));**grid**;

Mathematics and Physics :: 01-28-2006 16:55 :: Roshdy :: Replies: **10** :: Views: **757**

I think you should first solve for I as a function of V. Then you can use that to write an expression in **matlab**. Once you get that expression and write I=f(V) then you are basically done. The following code (with an appropriate expression on the right hand side of I= ) should do it.
V=;
I=
plot(V,I),**grid**

Electronic Elementary Questions :: 03-02-2006 13:16 :: v_c :: Replies: **3** :: Views: **770**

Dear all,
This is a part of sigma-delta modulator code in **matlab**.
tr = 1024*4; % points for transient
pt = 1024*32; % FFT points
tt = tr+pt; % total points
osr = 64; % osr=64
fc = 20000; % signal bandwidth = 4k
fs = 2*fc*osr; % sampling frequency

Analog Circuit Design :: 04-08-2006 09:55 :: shaq :: Replies: **2** :: Views: **1161**

Hi all
I've a question about ADC TEST.
I received **matlab** code for logic analyzer's data in MAXIM Homepage.
But I'm confused about that.
In code...
.
.
.
figure;
plot(,code);
title('TIME DOMAIN')
xlabel('SAMPLES');
ylabel('DIGITAL OUTPUT CODE');
Dout=code-(2^numbit-1)/2; %Re-center the digitized sinusoidal input
Dout

Analog Circuit Design :: 06-15-2006 10:48 :: ljy4468 :: Replies: **0** :: Views: **1848**

Xc= 2; %Center for x
Yc = 3; %Center for y
R = 2; %This is the radius
x=0:0.01:1; %degree
plot(Xc+R*cos(2*pi*x),Yc+R*sin(2*pi*x));%the circle plot
**grid**

Digital Signal Processing :: 09-04-2006 03:54 :: amine :: Replies: **3** :: Views: **9239**

Your code is close but had a few errors. Here is the working code.
close all;
clear all;
reg1 =0;
reg2 =0;
reg3 = 0;
eta =sqrt(2)/2;
theta =2*pi*1/100;
Kp = ;
Ki = ;
d_phi_1 = 1/20;
n_data = 100;
for nn =1:n_data
phi1= reg1 +d_phi_1;
phi1_reg(nn) = phi1;
s1 =exp

Digital communication :: 06-14-2011 17:54 :: power-testing :: Replies: **5** :: Views: **11171**

Hi all, I want to plot an i-v curve of this equation i=100*^2 by using **matlab**, but unfortunately it looks that the plot I get isn?t the one that I want, so I think there must be something wrong but I don?t know it. Your suggestions and comments will be highly appreciated!
Here is my code:
%current versus voltage cur

Mathematics and Physics :: 11-19-2006 22:43 :: qiushidaren :: Replies: **1** :: Views: **3454**

fs=50;
fcut1=10;
fcut2=5;
w1=2*fcut1/fs;
w2=2*fcut2/fs;
=butter(2,w1);
=butter(2,w2,'high');
=freqz(b,a,100,fs);
=freqz(b1,a1,100,fs);
kfr=abs(h);
kfr1=abs(h1);
subplot(2,1,1),plot(kfr);**grid**;
subplot(2,1,2),plot(kfr1);**grid**;

Electronic Elementary Questions :: 02-21-2007 04:29 :: shahar :: Replies: **4** :: Views: **2052**

In this example, we shall simulate the shapes of the electrocardiogram for both
The following commands create an electrocardiogram
signal heart might produce assuming a 4000 Hz sampling rate.
The heart rate for this signal is approximately 89 beats per minute, and the
peak voltage of the signal is 3.5 millivolts.
x1 = 3.5*ecg(2700).';
y1 = s

Digital Signal Processing :: 05-12-2007 18:41 :: farhadtehrani :: Replies: **6** :: Views: **10387**

my project is about FIR filter design by the FFT algorithm,
I have some problem in writing code in **matlab**.
if any body could help me I'll really be tankful.
please copy paste this code in your **matlab** software(ver.7) & run it.
f = ; m = ;
h(:,1) = fir2(31,f,m) ; %time domain FIR filter
plot(b);
hold on
plot(I,h(

Digital Signal Processing :: 05-02-2007 12:06 :: speech :: Replies: **0** :: Views: **1748**

x and z are RV of gaussiana distribution and not correlated,
y is a RV of a gaussiana distribution and correlated with x
n=2^13;
x=randn(1,n)+3;
z=randn(1,n)+4;
y=zeros(1,n);
m=50;
for i =1:n-m
y(i)=mean(x(i:i+m-1));
end
plot(); **grid**
The density function:
=hist(x,50);
fx=fx/sum(fx);
=hist(y,50)

Digital communication :: 06-24-2007 22:28 :: artsil23 :: Replies: **4** :: Views: **3416**

figure(1);plot(x,y)；**grid** on;
figure(2);polar(x,y);**grid** on;

Electromagnetic Design and Simulation :: 10-28-2007 20:26 :: handoctor :: Replies: **2** :: Views: **4376**

Microcontrollers :: 03-05-2008 03:32 :: Sreya39 :: Replies: **1** :: Views: **1388**

Hi x:
x(1:12)=0;
x(13:17)=1;
x(18:29)=0;
n=-14:14;
stem(n,x,'.'); **grid**;
axis()
For X(ejw):
W=-2*pi:1e-4:2*pi;
plot(W,sin(2.5*W)./sin(W/2));

Software Problems, Hints and Reviews :: 07-03-2008 17:46 :: saeidj :: Replies: **2** :: Views: **950**

Hi all
I want to **grid** (FEM 2-D) a geometry that is bounded with a function (defined in a mfile) in **matlab**. in pde of **matlab** it is described with command "initmesh" but this command did not recognize my function.
I want to know the user defined function must have what properties?

Software Problems, Hints and Reviews :: 07-10-2008 15:13 :: hisa :: Replies: **0** :: Views: **1303**

Hi dear see this (my program)
clc;
clear all;
disp('M-Array PSK Modulation')
%create a random digital message
M=input ('M= '); %alphabet size
x=randint(input('Number of binary bit stream = '),1,M);
nsample=40; %oversampling rate.
%%
%%
%use M-PSK modulation to produce y
y=modulate(modem.pskmod(M),x);
%%
%follow with rectangular p

Digital communication :: 02-26-2009 16:00 :: Aya2002 :: Replies: **9** :: Views: **20702**

Hi experts, i have a quistion here, please read the following paragragh as it is in a pdf document on the web:
The Fourier transform can be computed using the **matlab** code
Fk = fft(fn)/N; % The FFT of the signal fn
fn = ifft(Fk)*N; % The Inverse FFT
ifft(fft(fn)); % This result = fn (within machine precision)
We must divide by the number of

Digital Signal Processing :: 03-11-2009 19:20 :: Aya2002 :: Replies: **5** :: Views: **8777**

clc;clear all;
%create a random digital message
M=64; %alphabet size
x=randint(100e3,1,M);
%%
%use 16-QAM modulation to produce y
y=modulate(modem.qammod(M),x);
%%
%%transmit signal through an AWGN Channel
ynoisy=awgn(y,27,'measured');
%%
%Create scattet plot from noisy data
scatterplot(ynoisy),**grid**;
%%
%Demodulate ynoisy to recover t

Digital Signal Processing :: 04-23-2009 15:30 :: Aya2002 :: Replies: **1** :: Views: **1788**

In a **matlab** code, i have to finde the symbol error rate of 32qam modulation with awgn and SNR from -30 to 30 and step 5. But the figure apears wrong. Can somebody tell me what i made wrong in the code???
clear
N=10^4;
M=32;
for SNR=-30:5:30
x1=randint(1,N,M);
y1=qammod(x1,M);
for t=1:N
awgn1 =awgn(y1,SNR,'measur

Digital communication :: 06-09-2009 08:34 :: groun :: Replies: **3** :: Views: **2739**

Yes **matlab** is the best tool for simulating antenna arrays; Below i have typed some **matlab** code to simulate liner antenna array.
change the different variable and see the results.
%********************************
clc
clear all
f=2000;
c=340;
d=.08;
N=10;
theta= 45 * (pi/180);
si=0:pi/100:pi;
for k=1:101
peak(k)=(sin(N*f*d*pi*(cos(

Electromagnetic Design and Simulation :: 07-26-2009 00:26 :: engr_najam :: Replies: **6** :: Views: **2019**

Here i hav written a small code to plot ur data, hope it will help
clc
clear all
fid=fopen('C:\Documents and Settings\Zeeshan\Desktop\a.txt');
data=fread(fid,inf,'int16');
figure(1)
plot(data(1:100))
**grid** on
fclose(fid);

Digital Signal Processing :: 07-28-2009 12:59 :: engr_najam :: Replies: **8** :: Views: **6196**

function askd(g,f)
%Modulation ASK
%Example:
%askd(,2)
objectId=14328&objectType=FILE
if nargin >2
error('Too many input arguments')
elseif nargin ==1
f=1;
end
if f<1;
error('Frequency must be bigger than 1')
end
t=0:2*pi/99:2*pi;
cp=;sp=;
mod=;mod1=;bit=;
for n=1:length(g);
if g(n)==0;

Digital communication :: 09-02-2009 23:03 :: baya :: Replies: **1** :: Views: **1154**

Hi, I have a **matlab** code here
it acquires FM modulated signal from sound card can perform FM demodulation
however, i don't why it set vcok (VCO K constant) at 0.176
anyone can explain to me how and why it is set to 0.176?
Fc = 2144; %select VCO carrier frequency
vcok = 0.176; %select vco constant
Fs = 40000; %select sound card sampl

Digital communication :: 09-06-2009 09:47 :: yiyi87 :: Replies: **0** :: Views: **3556**

I think the good point to start you is with the DC/DC converter control.... then move to Inverter Control and then **grid** synchronization.

Power Electronics :: 02-10-2010 12:15 :: mess123 :: Replies: **4** :: Views: **1453**

this is the bpsk code i tried in **matlab**.. but no output... plz help...
for j=1:7
eb1(j)=j;
no=1;
eb2(j)=10.^(eb1(j)/10);
a=sqrt(eb2(j)/4);
%s=;
s1=;
s2=;
psi=;
x=0;
for i=1:10000
d=randint(i);
if d==1
s=s1;
else
s=s2;
end
n=randn(1,4);
n1=n*sqrt(no/2);
r=s+n1;
z

Digital communication :: 02-28-2010 04:17 :: gkr :: Replies: **3** :: Views: **1747**

This is a program in **matlab** to do the DFT and the FFT (2-sided and 1-sided)
Good luck
%FFT lecture.
clc;close all; clear all;
%Generate the sine wave sequences
fs=8000; % sampling rate
N=1000; % Number of data points.
x=2*sin(2000*pi*/fs) ;
figure(1) ;
stem( 1 : 1:N/10,x( 1 : 1 :N/10 ) ,'filled' ) ;%plot first 100 sample of x(n)

Digital Signal Processing :: 03-17-2010 17:44 :: Aya2002 :: Replies: **8** :: Views: **21925**

hi this is pradeep doing mtech in nit.i want **matlab**/simulink model for pv sytem.please send mdl file to my email

Analog Circuit Design :: 04-26-2010 06:01 :: pradeep kumar p :: Replies: **0** :: Views: **1819**

Here it is:
% FDTD Main Function Jobs to Workers %
%***********************************************************************
% 3-D FDTD code with PEC boundaries
%***********************************************************************
%
% This **matlab** M-file implements the finite-difference time-domain
% solution of Maxwell's curl

Mathematics and Physics :: 07-10-2010 22:38 :: kabukicho2001 :: Replies: **0** :: Views: **702**

Sir, I had tried fliplr but was not getting desired results..please look at my code.
This is a code to plot X..
x=;
n=-2:1;
k=fliplr(x);
m=-n;
plot(m,k)
**grid** on
xaxis('x axis:n')
yaxis('y axis:x')
The problem i am facing is how to handle X where values in array x are related to n, and subsequently plot them.
Li

Digital Signal Processing :: 10-11-2010 04:21 :: INS-ANI :: Replies: **5** :: Views: **3164**

Hey guys
Hope u r all well.
I have written a **matlab** code for PSK.. and it produces a graph... but i know that the graph is not what im looking for .. it doesnt produces a correct phase shift..
The code is :
% % Generating a input square wave
x1 = 0:(pi/100):(20*pi);
y1 = square(x1);
A = plot(x1,y1);
figure(1),A,title( 'Square wave

Digital communication :: 11-08-2010 04:49 :: Girly_girl :: Replies: **10** :: Views: **2029**

how do i add the result for the calculation of bit rate, baudrate and bandwidth on this program?
clear;
clc;
b = input('Enter the Bit stream \n ');
%b = ;
n = length(b);
t = 0:.01:n;
x = 1:1:(n+1)*100;
for i = 1:n
for j = i:.1:i+1
bw(x(i*100:(i+1)*100)) = b(i);
end
end
bw = bw(100:end);
sint = sin(2*pi*t);

Digital communication :: 01-22-2011 16:32 :: Siva35 :: Replies: **3** :: Views: **1042**

You can use the following code:
angle = linspace(0, 2*pi, 360);
x = cos(angle);
y = sin(angle);
plot(x,y)
axis('equal')
ylabel('y')
xlabel('x')
title('Circle')
**grid** on

Mathematics and Physics :: 01-05-2011 14:54 :: sv1437 :: Replies: **3** :: Views: **11528**

I have created a GUI in **matlab** for Amplitude Shift Keying so that it would prompt the user to input the binary bit stream, then it would be able to produce the modulated graph and the bit rate and baudrate below.
I have done three months research on the codes and it is successful; Unfortunately something went wrong when i programmed into the GUI

Digital communication :: 01-23-2011 15:17 :: Siva35 :: Replies: **1** :: Views: **420**

I did not understand what your problem exactly is. Is it integration in 2D in **matlab**? If you want to integrate two-variable functions over rectangular areas, you can make use of "mesh**grid**" function. Below lines may give you an idea.
=mesh**grid**(-5:0.1:5,-10:0.1:10); % x,y **grid** for two independent variable is created. (...)

RF, Microwave, Antennas and Optics :: 07-13-2011 09:14 :: ferdem :: Replies: **5** :: Views: **968**

freq = ;
mag = ;
x = fir2(101, freq, mag);
% Evaluate and plot the input spectrum
= freqz(x, 1, 512);
plot(w/pi, abs(Xz)); **grid**
xlabel('\omega/\pi'); ylabel('Magnitude');
title('Input spectrum');
pause
% Generate the down-sampled sequence
M = input('Type in the down-sampling factor = ');
y = x([1:

Digital Signal Processing :: 10-28-2011 13:51 :: jake1 :: Replies: **5** :: Views: **594**

Heya Scott - unevenly sampled data is a turd!
Two options spring to mind:
1. Resample the data onto a 1ms **grid** and go from there, or
2. Use spectral estimation techniques that don't rely on regular sampling, such as the Lomb-Scargle periodogram described in Numerical Recipes ( ). I see someone has kindly written a function

Digital Signal Processing :: 12-08-2011 00:46 :: thylacine1975 :: Replies: **2** :: Views: **720**

Last searching phrases:

high power led | flyback project | fpga processor | optical cdr | low power current mirror | led project pic16f877 | power suply | through rate | audio capture | external crystal

high power led | flyback project | fpga processor | optical cdr | low power current mirror | led project pic16f877 | power suply | through rate | audio capture | external crystal