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.
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, Optigrid 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
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: email@example.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??
Electromagnetic Design and Simulation :: 02-10-2003 12:39 :: ppAntenna :: Replies: 21 :: Views: 21072
little matlab demo of fractional derivative..enjoy
Fn=(j*t).^n .* F;
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
for k=-N/2:N/2 B(c,:)=1/sqrt(N+1)*exp(-j*k*t);c=c+1;end;
Bn=B^n;fn=abs(Bn*f);plot(fn,'b');hold on;plot(f,'r--');hold off;
RF, Microwave, Antennas and Optics :: 04-18-2003 18:25 :: rntsay :: Replies: 0 :: Views: 1749
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
title('Real(S11) = Real(S22)');
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
/* THE grid
Electronic Elementary Questions :: 08-12-2005 13:30 :: ramone :: Replies: 5 :: Views: 898
i ran your program in matlab 7 and it worked successfully.
i think error belong to "angle" because it is one of matlab functions.
r = 1.2; theta = 10*pi/180;
ang = 0:theta:36*theta; mag = r.^(ang/theta);
Electronic Elementary Questions :: 01-09-2006 00:47 :: hr_rezaee :: Replies: 5 :: Views: 12336
there is an example
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.
Electronic Elementary Questions :: 03-02-2006 13:16 :: v_c :: Replies: 3 :: Views: 770
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
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.
ylabel('DIGITAL OUTPUT CODE');
Dout=code-(2^numbit-1)/2; %Re-center the digitized sinusoidal input
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
plot(Xc+R*cos(2*pi*x),Yc+R*sin(2*pi*x));%the circle plot
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.
reg3 = 0;
Kp = ;
Ki = ;
d_phi_1 = 1/20;
n_data = 100;
for nn =1:n_data
phi1= reg1 +d_phi_1;
phi1_reg(nn) = phi1;
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
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
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
for i =1:n-m
The density function:
Digital communication :: 06-24-2007 22:28 :: artsil23 :: Replies: 4 :: Views: 3416
Electromagnetic Design and Simulation :: 10-28-2007 20:26 :: handoctor :: Replies: 2 :: Views: 4376
matlab provides the inbuilt function for QAM. Here is the code...
just try over this
Create a random digital message
M = 16; % Alphabet size
x = randint(5000,1,M); % Message signal
% Use 16-QAM modulation.
y = qammod(x,M);
% Transmit signal through an AWGN channel.
ynoisy = awgn(y,15,'measured');
% Create scatter plot from noisy d
Microcontrollers :: 03-05-2008 03:32 :: Sreya39 :: Replies: 1 :: Views: 1388
Software Problems, Hints and Reviews :: 07-03-2008 17:46 :: saeidj :: Replies: 2 :: Views: 950
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)
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
%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
%create a random digital message
M=64; %alphabet size
%use 16-QAM modulation to produce y
%%transmit signal through an AWGN Channel
%Create scattet plot from noisy data
%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???
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.
theta= 45 * (pi/180);
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
fid=fopen('C:\Documents and Settings\Zeeshan\Desktop\a.txt');
Digital Signal Processing :: 07-28-2009 12:59 :: engr_najam :: Replies: 8 :: Views: 6196
if nargin >2
error('Too many input arguments')
elseif nargin ==1
error('Frequency must be bigger than 1')
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...
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)
clc;close all; clear all;
%Generate the sine wave sequences
fs=8000; % sampling rate
N=1000; % Number of data points.
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..
The problem i am facing is how to handle X where values in array x are related to n, and subsequently plot them.
Digital Signal Processing :: 10-11-2010 04:21 :: INS-ANI :: Replies: 5 :: Views: 3164
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?
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);
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);
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 "meshgrid" function. Below lines may give you an idea.
=meshgrid(-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
% 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