DSPRelated.com

Modulation with a baseband signal in Matlab

Started by Nitram in comp.dsp14 years ago 12 replies

Hi, I have a simple matlab question: I have a baseband signal with a 2MHz bandwidth (wideband), sampled at 100MHz. I would like to use this...

Hi, I have a simple matlab question: I have a baseband signal with a 2MHz bandwidth (wideband), sampled at 100MHz. I would like to use this signal to modulate a 5Ghz carrier. What is the simplest way to proceed? I was thinking using the ammod function, but in that case I would need to resample my signal to a higher sampling rate (which may add some distortion). Is there a more elegant way to g...


Multichannel Audio I/O in Matlab using PortAudio

Started by rah123 in comp.dsp16 years ago

As part of my University project over a year ago I created a utility that allows continuous, non-blocking access to soundcards from...

As part of my University project over a year ago I created a utility that allows continuous, non-blocking access to soundcards from within Matlab. This has now been resurrected to work with the latest version of PortAudio and can be downloaded from http://www.playrec.co.uk/. Using PortAudio means that it can use ASIO, WMME and DirectSound under Windows and support multichannel I/O without pr...


Matlab simulation of beamforming

Started by jaheti in comp.dsp16 years ago 5 replies

Hi all, I would like to know how I could model the effect of beamforming in a monte carlo simulation (running Matlab). A simple simulator...

Hi all, I would like to know how I could model the effect of beamforming in a monte carlo simulation (running Matlab). A simple simulator structure for the beginning could be something like: 1.random bit input 2.modulation (M-PSK or M-QAM) 3.beamformer 4.channel 5.demodulation 6.error counter, calculate BER as a function of SNR So, how to implement the beamforming part? Can I do the si...


Maximum 2D Filter in C++

Started by RS in comp.dsp18 years ago 3 replies

Hi all, I am looking for an efficient implementation of the 2D maximum filter in C++. I tried to write one using the Blitz library, but my...

Hi all, I am looking for an efficient implementation of the 2D maximum filter in C++. I tried to write one using the Blitz library, but my code's speed is far slower than the matlab code. I am new to the field and I'm not sure if it is my algorithm that is suboptimal, or if matlab has special optimization I can't achieve. In any case I am looking for either a C++ code for maximum filt...


MATLAB BIT PRECISION!!

Started by Anonymous in comp.dsp17 years ago 3 replies

Hi all !! I would like to know if it is possible to run Matlab on 16-bit and 8 -bit processor !! Since it is already running on 32 bit...

Hi all !! I would like to know if it is possible to run Matlab on 16-bit and 8 -bit processor !! Since it is already running on 32 bit !! what is the possible way to quantize to lower bit precision !!! Thanking you Ali


FM demod using PLL

Started by lightmetal in comp.dsp20 years ago 19 replies

I am looking for an example of using a software pll for demod of FM. I tried the other fm demod routines (arctan, differentiator) and...

I am looking for an example of using a software pll for demod of FM. I tried the other fm demod routines (arctan, differentiator) and think there could be an improvement using a software pll. I found some matlab code posted by Tom ? that works on his data (generated by matlab) but fails on mine. I think it has something to do with the hz/volt or modulation index. I am also not exactly su...


Scilab and DSP

Started by Andreas Vaerge in comp.dsp16 years ago 13 replies

In an attempt to study DSP (interest not immidiate use) I have bought "Digital Signal Processing 3rd edition" by Proakis and Manolakis and the...

In an attempt to study DSP (interest not immidiate use) I have bought "Digital Signal Processing 3rd edition" by Proakis and Manolakis and the self study guide also by Proakis. However it is assumed that I have MatLab available which I cannot quite afford :-(. I have found SciLab which (according to info on the net) should be able of doing most of what MatLab can, just differently. Now, I su...


MatLab contour function in CCS

Started by Medris in comp.dsp17 years ago

Hi all, I want to use MatLab contour function in CCS is it possible to do that, also can I plot more than one figure in the same graphical...

Hi all, I want to use MatLab contour function in CCS is it possible to do that, also can I plot more than one figure in the same graphical display (not dual time), I mean, is it possible to use different starting address in one figure? _____________________________________ Do you know a company who employs DSP engineers? Is it already listed at http://dsprelated.com/employers.php ?


DS-CDMA simulation using Matlab

Started by BULDO in comp.dsp16 years ago 1 reply

Hi all When i ran ds-cdma code below on matlab, i received this message:??? Undefined function or method 'hrollfcoef' for input arguments of...

Hi all When i ran ds-cdma code below on matlab, i received this message:??? Undefined function or method 'hrollfcoef' for input arguments of type 'double'. Error in ==> dscdmareal at 20 [xh] = hrollfcoef(irfn,IPOINT,sr,alfs,1); % T FILTER FUNCTION %%%%%% DS-CDMA clear all close all %**************************** Preparation part ***********************


Time varying channel

Started by Richard_K in comp.dsp17 years ago

Hi, If I have a filter coefficients of a time-invariant channel for a particular wireless standard, may I know how to generate the...

Hi, If I have a filter coefficients of a time-invariant channel for a particular wireless standard, may I know how to generate the time-varying channel by using matlab? In this case, can I use "rayleighchan" or "riceanchan" in matlab or any other suggesstions/ alternative? Please help. Thanks.


TDOA and localisation (inexperienced Matlab user)

Started by nickch in comp.dsp15 years ago 12 replies

Hi, I've been thrown into a project that involves determining the location of a sound source and tracking its movements. I have very little...

Hi, I've been thrown into a project that involves determining the location of a sound source and tracking its movements. I have very little matlab experience but have been trying to cope. This site has been very useful. The general idea for the project is implementing a finger mouse where you have an array of microphones that detects the sound emitted by a finger sliding across a surface and e...


transfer function confusion and MATLAB

Started by Parlous in comp.dsp21 years ago 1 reply

hello - in this pdf paper http://www.telecom.tuc.gr/paperdb/eurospeech99/PAPERS/S11O2/K046.PDF the authors used a particular "pitch predictive"...

hello - in this pdf paper http://www.telecom.tuc.gr/paperdb/eurospeech99/PAPERS/S11O2/K046.PDF the authors used a particular "pitch predictive" filter to remove periodicities in an input signal. It is equation (2) of the paper, and is quite simple looking. I am having a few problems understanding it and how to implement it in matlab. The equation is: H(z) = 1 - (z ^ -P) F(z) where (...


transfer function confusion and MATLAB

Started by Parlous in comp.dsp21 years ago 1 reply

hello - in this pdf paper http://www.telecom.tuc.gr/paperdb/eurospeech99/PAPERS/S11O2/K046.PDF the authors used a particular "pitch predictive"...

hello - in this pdf paper http://www.telecom.tuc.gr/paperdb/eurospeech99/PAPERS/S11O2/K046.PDF the authors used a particular "pitch predictive" filter to remove periodicities in an input signal. It is equation (2) of the paper, and is quite simple looking. I am having a few problems understanding how to implement it in matlab. The equation is: H(z) = 1 - (z ^ -P) F(z) where (z ^ -P) ...


All-pole lattice filter

Started by MA in comp.dsp19 years ago 12 replies

Hi! I'm trying to write a matlab function to do all-pole lattice filtering, but I can't figure out how (I don't want to use latcfilt.m). I...

Hi! I'm trying to write a matlab function to do all-pole lattice filtering, but I can't figure out how (I don't want to use latcfilt.m). I have very good book, M. Hayes "Statistical Digital Signal Processing and Modelling", which describes the theory nicely but gives no clue how to perform the filtering in practice/matlab. Is a state-space representation necessary? Before I ran into this I...


IEEE802.11a Matlab Simulation

Started by ahmed1984 in comp.dsp9 years ago

Hi, I would like to simulate IEEE802.11a WLAN over a Rayleigh multipath channel using Matlab and I'm dealing with the...

Hi, I would like to simulate IEEE802.11a WLAN over a Rayleigh multipath channel using Matlab and I'm dealing with the function "h=rayleighchan(ts,fd,tau,pdb). I'm really confusing about the sample time(ts) which on I have to use 50ns as the bandwidth=20MHz or I should choose the time of OFDM symbol which is equal to 4us according to the IEEE standards. Do you have any idea? Thank you in...


matlab filter shape versus sample frequency

Started by Anonymous in comp.dsp15 years ago 5 replies

Hi. I was using some matlab functions to show the shapes of some basic butterworth filters when I noticed that my shapes were changing depending...

Hi. I was using some matlab functions to show the shapes of some basic butterworth filters when I noticed that my shapes were changing depending on my sampling frequency. Of course, I wouldn't expect this. Can anyone explain why this is happening? Thanks, Blair I have pasted code here which best demonstrates what I mean... % Written by: Blair Fonville % Last Modified: Jan 12...


awgn channel

Started by Anonymous in comp.dsp19 years ago 2 replies

dear all, I want to use AWGN channel to find the performance error of OFDM system using matlab. Could anybody help me please, 1. explain to...

dear all, I want to use AWGN channel to find the performance error of OFDM system using matlab. Could anybody help me please, 1. explain to me how AWGN channel affects to our data ? 2. that anybody have awgn channel matlab code that can I use or show to me how to calculate awgn. regard, nmaedewi


room impulse response analysis and polynomial factoring

Started by jere...@gmail.com in comp.dsp18 years ago 7 replies

i am doing some research on acoustics and particularly the nature of room reverberation. this led me to some harsh number crunching...

i am doing some research on acoustics and particularly the nature of room reverberation. this led me to some harsh number crunching using matlab. i am working with polynomials having hundreds of terms and very high powers in the range of 800 to 2000. i am particularly interested in the position of the roots relative to the unit circle. Thus i am using roots() a matlab funtion to compute the...


Problem with jvm on Matlab

Started by for_next in comp.dsp17 years ago

When I installed matlab ( on SuSe 10.2 64 bit ) and I try to start the shell tells me go to /home dir and to read the fail ...

When I installed matlab ( on SuSe 10.2 64 bit ) and I try to start the shell tells me go to /home dir and to read the fail "java.log. 6338"....And its contend is : Error occurred during initialization of VM Could not reserve enough space for code cache Stack Trace: [0] libjvm.so:0x00002aaaab771989(0x7fffebb30820, 0x2aaaab4f28ef, 0x00660960 ", 0x00660960 ") [1] libjvm.so:0x00002aaaab5c...


FIR filters

Started by Anonymous in comp.dsp18 years ago 1 reply

Hi all Im currently trying to design a FIR filter in Matlab (fdatool) v7.04 and im experiencing a few problems. A list of these have been...

Hi all Im currently trying to design a FIR filter in Matlab (fdatool) v7.04 and im experiencing a few problems. A list of these have been included below: 1) Im currently trying to design a filter with a flat passband and therefore i have choosen to use a butterworth - filter slope 12dB/ Oct. However when trying to select this option, Matlab blocks you. Is the reason for this FIR filt...