1000 Threads found on edaboard.com: Matlab S Function
I want to simulate a PID or PD regulator in matlab. I can simulate a P and PI regulator in it.. but when I try to setup a transfer function (tf) of a PD or PID regulator I can't do a stepresponse of it...
I see all the examples explain the step response in combination with a proces but I want to do only the PD or PID regulator
Software Problems, Hints and Reviews :: 01.10.2007 16:11 :: mobile-it :: Replies: 2 :: Views: 2820
Can anyone tell me how to do FFT in matlab 7.0 ?
What are different types of algorithms used for this purpose?
Also provide a sample code.
Analog Circuit Design :: 16.10.2007 06:48 :: aamir_javed :: Replies: 3 :: Views: 4808
i want to see a sine wave from a function genetator on matlab
is it possible??????
PC Programming and Interfacing :: 16.10.2007 10:20 :: hussain_kiet :: Replies: 3 :: Views: 890
when we use matlab's filter tool box to design analog filter, does it return
a transfer function?
Analog Circuit Design :: 26.10.2007 20:39 :: maninnet :: Replies: 1 :: Views: 428
what do you mean by "with a scale of grey"?
I suppose you want to plot a surface or contour plot with the "grey" color-map. then you should take a look at the following functions at the matlab help:
meshgrid,contour, mesh, colormap
Electromagnetic Design and Simulation :: 10.11.2007 02:17 :: eastern :: Replies: 4 :: Views: 1382
I think hfss_surf_exe() is a user defined function that if you want use it you should add it to matlab current directory or its toolbox
I hope it'll be helpful
RF, Microwave, Antennas and Optics :: 10.11.2007 02:57 :: ali110 :: Replies: 1 :: Views: 675
you need read some matlab book
Analog Circuit Design :: 09.04.2008 19:38 :: dongtcry :: Replies: 3 :: Views: 524
You need to simulate the capacity formula for MIMO which u already mentioned. But then you have to run the simulations for long time, for Ricean fading use channel mean non-zero and for Rayleigh fading use channel mean zero. I am attaching a figure with this post, which is Sum capacity vs Number of users in the system.
I can help you in
Digital communication :: 19.11.2007 17:22 :: mkhan :: Replies: 4 :: Views: 2460
if maximum frequency of your signal is 40 Hz firs you have to sampled that with a frequency greater than 2*40 Hz. Because you have to consider Nyquist rule.
after the convinient sampling you can see the spectrum of your signal. one way is pwelch function in matlab. The other way is this function
Y=abs(fft(x,1024)) ; (...)
Electronic Elementary Questions :: 18.12.2007 00:35 :: mehdimajidi :: Replies: 4 :: Views: 1279
I am looking for a matlab function that converts a character (e.g., 'D') to its ASCII equivalent ( i.e., 68 ) .
The function char does the reverse conversion.
Basically, I want to convert a text message to its ASCII codes, process that code, and go back to the message.
Software Problems, Hints and Reviews :: 15.11.2007 03:14 :: ee_expert2000 :: Replies: 4 :: Views: 66803
well ... doing plot we have limiting of the plotting functions ... i.e. the lower and upper ranges ...
so provide your ranges and use plot3d(), mesh etc function in matlab for plot
best way to learn matlab is to use help command as mush as your can
for more details help plot3d on the command window
Digital Signal Processing :: 16.11.2007 00:05 :: abaidullah :: Replies: 1 :: Views: 1913
does anyone know how can I give a matlab function (or file) as input of COMSOL?
Particularly, I need to simulate in COMSOL an anisotropic medium with ε and ? varying with r and Φ (cilindrical coordinates). Any suggestion will be helpful.
Thank in advance.
Electromagnetic Design and Simulation :: 16.11.2007 03:57 :: iaia :: Replies: 2 :: Views: 1471
open it in notepad you sould be able to read it, then you can analyze it.
matlab function Reference
importdataLoad data from disk file
importdata(filename)A = importdata(filename)A = importdata(filename,delimiter)A = importdata(filename,delimiter,headerline) = importdata(...) = importdata(...) = importd
Software Problems, Hints and Reviews :: 16.11.2007 12:55 :: pabloec :: Replies: 2 :: Views: 740
Can any one help me to find a matla code for FFT implementation but not the built in function
can anybody help me with that???
Analog Circuit Design :: 21.11.2007 04:53 :: Foufou :: Replies: 0 :: Views: 523
I want to write matlab cod for :
Electronic Elementary Questions :: 24.11.2007 06:07 :: negar :: Replies: 4 :: Views: 859
I have ton ot good examples of BCD or decade counters but NONE have a "real" counter which can be loaded with arbitrary value just like the one depicted on the pix, which is a genetic SN74LS168 up/down ripple BCD counter with load?
Building it out of D flip-flops and ton of gates as the function diagram suggest is possible but will be a lot of M
Digital communication :: 24.11.2007 11:53 :: ds18s20 :: Replies: 4 :: Views: 2390
an anyone help me generate an IMPUSLE COMB(impulse train) both in time and freq domain....
let the sampling period be Ts=0.00025 or Fs=4000 , next 2Fs,3Fs and so on...
kindly help me plot this impulse train and its FFT in matlab
thanx in advance
Digital Signal Processing :: 26.11.2007 05:24 :: Nosheen :: Replies: 4 :: Views: 11335
Look at the new Embedded matlab. It is extremely simple and works seamlessly with Real-time wrokshop to generate C/C++ code from M-Files and Simulink Models. I think you will find it in matlab R2007a and later.
There are also thrid-party tools that take M-Files and generate C Code such as Catalytic MCS and ACCelDSP.
Electronic Elementary Questions :: 23.12.2007 06:12 :: amrstaha :: Replies: 9 :: Views: 12427
I design a digital filter using matlab and output as a verilog.
When i test this digital filter using FPGA, i can see the frequency response for my output signal.
But i would like to see the frequency response for digital filter transfer function. What should i do?
Thanks in advance for your help.
Digital Signal Processing :: 03.12.2007 10:00 :: cafukarfoo :: Replies: 1 :: Views: 527
I have to build a controller (for position control) in matlab for a ptz camera ( dome camera ).The basic idea is that the target will be detected through out video frames.I want to build a controller so as my dome camera move in such a way that the target is being kept at the center of the image.PC is physically connected via RS232 with it.Which is
Robotics and Automatics Forum :: 12.12.2007 05:13 :: ekomninos :: Replies: 0 :: Views: 755
i am using matlab for demodulation of dqpsk signals, my approach gave a bit of faulty answers, but whe i used a built in function in matlab, the answer came out right
upon a bit of search, i find out that matlab is using unwrap function,
i looked at its help but it looks and sounds weird, inshort (...)
Digital communication :: 20.12.2007 08:33 :: bizoo :: Replies: 0 :: Views: 1346
1. we Defined a time axis from 0 to 1 sec. and that it contains only 200 samples.
2. Generate the signal x(t) = sin(10πt) defined on the previous time axis.
3. Resample the signal x(t) by taking one sample every seven samples from the original signal. Call the resulting signal y(t).
HOW TO : Without using the matlab function
Software Links :: 21.12.2007 17:10 :: mos33 :: Replies: 0 :: Views: 381
How can I resolve this equation using matlab where
e is the unknown variable with
t0 ta and ta as known ones
exp denote the exponentional function
PC Programming and Interfacing :: 23.12.2007 10:04 :: Foufou :: Replies: 15 :: Views: 9396
Go to this link:
It has what you need. Also u can find to this link some examples in matlab in order
to calculate your PID controller.
Robotics and Automatics Forum :: 25.12.2007 13:48 :: BooM :: Replies: 4 :: Views: 16146
here is the matlab code for GSM simulation. I got it from
Digital communication :: 26.12.2007 04:04 :: topse2008 :: Replies: 4 :: Views: 8330
Hi, everybody. I am using matlab toolbox "delsig" to do the system design of a second order ADC.
In the "delsig" toolbox, function " realizeNTF ( ntf, form, stf ) " can set the coefficients for a particular modulator topology. It works perfectly with default input "stf=1", but when I set the stf has the same poles as ntf, matlab gives me (...)
Analog Circuit Design :: 01.01.2008 23:57 :: fatcat1205 :: Replies: 0 :: Views: 686
This is matlab program
"h_block" gives a complex matrix of order 512 by 1
"h" just reshape it into a matrix of order 1 by 512
I want to ask is this is the correct way to define rayleigh channel
by the pathloss is defined to be 1,one.
Digital communication :: 02.01.2008 14:23 :: urwelcome :: Replies: 4 :: Views: 1570
I think you should search for "Compile" instead of "Convert" and "matlab function" instead of "matlab code".
I guess it is a standard proccess to compile a matlab function to a C function (may be called C-MEX function). Look for these keywords in matlab help.
Digital Signal Processing :: 05.01.2008 15:25 :: leotim :: Replies: 5 :: Views: 725
I need matlab source code for viterbi decoder of 16-QAM modulation. matlab help
has viterbi decoding function only for BPSK. How i can use this function to simulate
Digital communication :: 27.01.2008 04:30 :: mardani2 :: Replies: 1 :: Views: 1787
I am not clear what you want.
Do you want to call a matlab script inside your C++ code, you want to write a function in C++ (to speed up your program) and call it from matlab script?
the first one is pretty easy, search "matlab computation engine" in matlab help, it is very easy.
to do the second one (...)
Digital communication :: 01.02.2008 15:43 :: mhamed :: Replies: 6 :: Views: 1883
Hey, I wish to randomly generate SNR values between 0 and 35 dB. Does anyone know which function can be used to generate these values in matlab?
Digital communication :: 03.02.2008 07:06 :: prince_capri :: Replies: 5 :: Views: 1027
in order to crosscrrolate two signals which of these two matlab uctions are true? "xcorr" or "crosscorr"
Digital Signal Processing :: 05.02.2008 05:00 :: scholar_a :: Replies: 2 :: Views: 2327
I am working on Reed-Salomon encoding/decoding program and I have one problem. I would like to convert gf object for example gfcode=gf(code,3) to string and figure it in terms of function set(handles.text15,'String',variable) into text field. It is impossible to use function num2str.
Thanks for Your advices. Stepan
Software Problems, Hints and Reviews :: 05.02.2008 08:26 :: Tesil :: Replies: 0 :: Views: 1139
i need a function in matlab to solve trial and error problems such as
to find the value of x
Software Problems, Hints and Reviews :: 05.02.2008 19:56 :: fidobido :: Replies: 3 :: Views: 1207
Now, I am using Simulink modeling with the TMS320C6713 DSK for real time signal processing. So, for the time being you can change your matlab code into Simulink using User-Defined function.
Digital Signal Processing :: 08.02.2008 16:48 :: ahmedseu :: Replies: 3 :: Views: 628
So I have a program designed for matlab which I want to run on FreeMat. Everything seems compatible except FreeMat doesn't have a nlinfit function which is required by the program.
Software Problems, Hints and Reviews :: 12.02.2008 20:34 :: Needmatlabhelp :: Replies: 0 :: Views: 850
I may be wrong, but it could not be performed by a simple function, done by yourself ? ( I suppose you´re using ´C´ language )
This function which i wrote here,it works and it exist (in matlab). but i cant find which parameter i must change to input my matrix or simple array,which is in binary level and transpose in
Software Problems, Hints and Reviews :: 19.02.2008 11:31 :: Nikolas83 :: Replies: 2 :: Views: 851
i'm doing my final task that makes me so desperate
i have to make ANC FXLMS algorithm in matlab, but i have to make my own function without using the = adaptfiltfxlms(....) function
i have done my own function for system identification using LMS algorithm, but i don't know how to make the FXLMS (...)
Digital Signal Processing :: 28.02.2008 23:23 :: jalal_merhi :: Replies: 0 :: Views: 1374
I need to know,what exactly is" band limited white noise?" and how can I generate it in matlab.
my problem is to generate analog BLWN signal s(t), and it's delayed and It's time scaled version s((t+D)/a) where D and a are nonintegers. and then sample these two by 1Hz.
I want to know how to generate s(t) as an analog function and
Digital communication :: 02.03.2008 12:47 :: vahidkh6222 :: Replies: 1 :: Views: 5022
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 :: 05.03.2008 03:32 :: Sreya39 :: Replies: 1 :: Views: 1183
hey i am in need of help in matlab simulink badly.
i attached an diagram of that.
i will pass a binary number or string in the M-FSK modulator, so i need to generate a binary number specified by me, i tried with Embedded matlab function but i couldn't get output, it's not working. can anyone help me plzzz
PC Programming and Interfacing :: 06.03.2008 10:24 :: piash :: Replies: 3 :: Views: 652
I don't undrestand what "octave" means here?
but if you want to read your wave file you should write the command as follows:
the file shoiuld also be in the matlab path.
Digital Signal Processing :: 25.03.2008 05:17 :: milad_omidi :: Replies: 1 :: Views: 4556
run the first matlab code. one figure will open with the first graph. write hold on in the matlab command window and run the second code. the two graphs will be displayed in the same figure.
type help hold in the matlab command window for further information. also see plot, and legend function.
Digital communication :: 14.03.2008 07:49 :: imranshoaib :: Replies: 3 :: Views: 4638
Can someone tell me how to do a pole-zero analysis (extraction) with matlab? I assume there should be a function for that.
Say, I can get from circuit simulation magnitude, phase and frequency points (or correspondingly Re, Im and frequency points). How can I use this to find the poles and zeros of the circuit?
I tried to run pole-zero ana
Analog Circuit Design :: 13.03.2008 15:32 :: sutapanaki :: Replies: 0 :: Views: 683
Anyone can provide me the matlab command that able to generate
the coeffiecient for the single loop modulator?.
The third order modulator transfer function is as below:
H(z) = (1-z^(-1))^3
1+ c1z^(-1) + c2z^(-2) + c3z^(-3)
I would like the get the coefficient for
Digital Signal Processing :: 14.03.2008 06:19 :: cafukarfoo :: Replies: 0 :: Views: 411
i am doing the final year project about class D amplfier , use some algorithm to produce PWM , then pass to the power amplifier and low pass filter to generate sound.
Since i finish to build the class D amplifier in fypga and also able to see the Power spectral of the generated PWM to measure the THD of the board. The only thing i need to do now
Electronic Elementary Questions :: 15.03.2008 01:00 :: clarken :: Replies: 3 :: Views: 1956
We have developed a model for Wimax 802.16e on matlab using floating point implementation.
Now we need to migrate this model to modelsim in order to automate it's implementation on TI DSP using real time workbench
Is it Possible?
What's the constrains?
Digital Signal Processing :: 17.03.2008 21:41 :: alzomor :: Replies: 3 :: Views: 1369
i tried this code on m-files in matlab
h = modem.qammod(4);
h.inputtype = 'bit';
tx_symbols = modulate(h,coded_bits);
it worked very well
now i want to make this code in Embedded
i made this block and wrote in it
h = modem.qammod(M);
h.inputtype = 'bit';
y = modulate(h,u);
but it makes alot (...)
Digital communication :: 20.03.2008 06:55 :: mr_byte31 :: Replies: 0 :: Views: 1898
I am trying to calculate the cross-spectral density for a voltage signal using matlab. I am using the fft function to do the Fourier transform. The fft function is Y=fft(X,n). But I donot know how to pick the points n. My voltage signal Y is 2seconds long. dt is 0.0001s. so sampling frequency is 1/0.0001s=10KHz. I donot know what value I (...)
Digital Signal Processing :: 24.03.2008 02:09 :: triquent :: Replies: 4 :: Views: 5765
too simple but i cant see the solution..I do an exercise which i need to call the function from command line tou matlab..For example..
i have 2 matrices ..
ea = abs(wx);
Software Problems, Hints and Reviews :: 24.03.2008 08:19 :: Nikolas83 :: Replies: 0 :: Views: 345