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: 3070
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: 5005
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: 988
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: 487
I have to plot a function, namely the transmittance T in a dielectric multilayer, in function of the angle of incidence and of the frequency. I would like to put the angle of incidence on the X axis, and the frequency on the Y axis and then plot the function T with a scale of grey.
Does anyone know the matlab (...)
Electromagnetic Design and Simulation :: 08.11.2007 14:08 :: iaia :: Replies: 4 :: Views: 1523
confused recently with this topic.Someone had some simple words about this as follows.But im still in obtacle.
t=linspace(-5,5,40); %matlab based model
hfss_surf_exe();%the interface function
%then the model is built in HFSS.
I havent got the detail of function 'hfss_surf_exe()'.W
RF, Microwave, Antennas and Optics :: 09.11.2007 21:37 :: Players :: Replies: 1 :: Views: 761
please refer to the attachment (part a only), i am required to model this in matlab code, but not in simulink, could you give some hint or example how to code this model?
Analog Circuit Design :: 12.11.2007 22:44 :: newbie1 :: Replies: 3 :: Views: 593
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: 2580
I have a analog signal through the lowpass Filter(fc=40hz) then I sample it which fsample =40hz, and I recieve 200 pieces of that signal into my computer by sampling which f(sample) =40hz.And my problem is how I can analyse spectrum of those 200 pieces discrete signal in matlab.
PLZ help me some code matlab or tell me which macro in matlab
Electronic Elementary Questions :: 14.11.2007 12:44 :: hbaocr :: Replies: 4 :: Views: 1425
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: 72639
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: 2260
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: 1625
I have datas taken from a spectrum analyzer they are in the form DATA.D2 and the question is how the files with D2 extantion read in matlab
Software Problems, Hints and Reviews :: 16.11.2007 11:27 :: vacikel :: Replies: 2 :: Views: 840
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: 592
I want to write matlab cod for :
Electronic Elementary Questions :: 24.11.2007 06:07 :: negar :: Replies: 4 :: Views: 1024
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: 2722
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: 12391
I'm a final year student . And I have some problem in my project.
That is how can I generate C code from matlab code to use It in my Keil ARM project!
I'm analysing Spectrum of Voice signal using my PC by matlab.I my problem is : how can i generate it to C code or header file *.h and use this code to write my program in KEIL ARM to le
Electronic Elementary Questions :: 28.11.2007 06:34 :: hbaocr :: Replies: 9 :: Views: 12959
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: 585
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: 863
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: 1487
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: 10245
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: 18336
here is the matlab code for GSM simulation. I got it from
Digital communication :: 26.12.2007 04:04 :: topse2008 :: Replies: 4 :: Views: 8884
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: 773
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: 1711
Hi all AOA
Is there any way to convert matlab code into c language
IS there any softwar available for this conversion.
I need it for my BE project
Digital Signal Processing :: 05.01.2008 14:30 :: sameem_shabbir :: Replies: 5 :: Views: 799
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: 1996
I want to run a simulation written both in C++ and matlab.I have MS Visual Studio installed.
How can I run the program whose one file out of many file is written in C++
please guide me through.
Digital communication :: 01.02.2008 07:08 :: asha19800 :: Replies: 6 :: Views: 2026
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: 1125
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: 2540
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: 1250
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: 1430
I have matlab code available with me
I s there any way that i can implement it on DSP
Any shortcut method
Thnx in advance
Digital Signal Processing :: 08.02.2008 11:26 :: sameem_shabbir :: Replies: 3 :: Views: 731
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: 921
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: 909
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: 1494
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: 5376
I need matlab code of QAM.
Microcontrollers :: 03.03.2008 01:29 :: haris_khan :: Replies: 1 :: Views: 1332
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: 724
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: 4992
I want to compare two graphs:
I have two matlab program which give me two separate graphs.
I want to have the result of those two programs on the same graph,I mean two separate programs should give result in the same graph.
How can I do that.
graphs show the BER v/s EbN0 and EbN0 is same in both of the programs.
Digital communication :: 13.03.2008 14:10 :: asha19800 :: Replies: 3 :: Views: 5942
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: 927
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: 468
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: 2228
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: 1557
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: 2235
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: 6341
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: 390