DSPRelated.com

string+number

Started by Tengku J in Matlab DSP14 years ago 2 replies

Dear All, I wish to write Cat1 = 4 Cat2 = 5 Cat3 = 6 (p/s: there are no space between 'cat' and numbers) However I want to do it...

Dear All, I wish to write Cat1 = 4 Cat2 = 5 Cat3 = 6 (p/s: there are no space between 'cat' and numbers) However I want to do it with "for" command. For example; for i=1:3 Cati=i+3; end And the answer will be Cat1 = 4 Is there any way do it? Really appreciate your helps. Thank you. -suli-


space alocation for matrices

Started by tunc...@gmail.com in Matlab DSP14 years ago 1 reply

hi i run tomlab under matlab. i need to build several matrices in my code. when i pre-allocate memory with zeros(...) i come up with the so...

hi i run tomlab under matlab. i need to build several matrices in my code. when i pre-allocate memory with zeros(...) i come up with the so famous memory problem. i can also allocate memory with spalloc or sparse. however, they really prolongs the time to an untolarable degree that the code finds a solution to the problem . can you suggest a remedy for this difficulty? Since solution t...


Comparaison of 2 audio signals and calculation of filter

Started by "romain.fiasson" in Matlab DSP14 years ago

Hi everyone, For a linguistics experiment, I have loudspeakers playing sounds in a room and they are directed towards a wall, which acts as a...

Hi everyone, For a linguistics experiment, I have loudspeakers playing sounds in a room and they are directed towards a wall, which acts as a low pass filter when you hear the sounds in the neighbouring room (where I am making recordings with my experimental subjects). The goal is to see the influence of ambient sounds on speech. It would be very nice if i could actually know more about the ...


Re: memory assignment for sparse matrix

Started by tunc...@gmail.com in Matlab DSP14 years ago

hi C=spalloc(m*n, (m+n)*p); may be helpful > > > > Hello All, > > I have a huge sparse matrix (10000000 X 105000), with ...

hi C=spalloc(m*n, (m+n)*p); may be helpful > > > > Hello All, > > I have a huge sparse matrix (10000000 X 105000), with > about 10% non-zero elements. The position of these > non-zero elements is known, but their values needs to > be individually updated during iterations. I use > for-loop to assign the values for these non-zero > lements, but it takes almost 20 minut


Reading Large Files and Wavread

Started by afir...@gmail.com in Matlab DSP14 years ago 3 replies

Hello, this is my first post on these forums, so please bear with me; I'm trying to read relatively large audio files (.wav format, ~1GB in size)...

Hello, this is my first post on these forums, so please bear with me; I'm trying to read relatively large audio files (.wav format, ~1GB in size) into matlab. However, I run out of memory long before the full file is read. Right now it seems to me that the best solution would be reading in chunks of the signal, manually downsampling, then analyzing them separately, although this seems to be a r...


fourier series coefficients

Started by Kurt in Matlab DSP14 years ago 2 replies

hello all, I have a one period square wave on the interval[0,2] defined as: y(t)= 1, 0

hello all, I have a one period square wave on the interval[0,2] defined as: y(t)= 1, 0


Regarding the rayleighchan( ) function in Matlab

Started by comm...@yahoo.com in Matlab DSP14 years ago

Hello, I am simulating OFDM transmission over a Fading Channel in Matlab (using the 2009a version) at my university I am concatenating 100...

Hello, I am simulating OFDM transmission over a Fading Channel in Matlab (using the 2009a version) at my university I am concatenating 100 OFDM symbols, where one symbol has 80 samples (64 subcarriers and 16 cyclic prefix). I create a Rayleigh fading channel object and filter my serial stream of OFDM symbols with the fading channel. Now, the problem is that I want each OFDM symbol be ...


Noise Cancellation using MATLAB

Started by nata...@hotmail.com in Matlab DSP14 years ago 1 reply

Hello, I'm Natasha and I'm doing my project on ' active noise cancellation in headsets'. I am new to MATLAB and have written a code for noise...

Hello, I'm Natasha and I'm doing my project on ' active noise cancellation in headsets'. I am new to MATLAB and have written a code for noise cancellation of an audio signal using a simple lms filter. However, the program shows errors,particularly in the lms filter designing area; [d,r] = wavread('df3_n0H.wav.wav'); r =8500 size(d) ans =42500 M = 32; mu=0.004;...


Low frequency - High frequency signal

Started by maha devi in Matlab DSP14 years ago 2 replies

Hi all, I have a question about exp(j2*pi*n) signal . This signal is a impulse in frequency domain. I could not get much intuition about this...

Hi all, I have a question about exp(j2*pi*n) signal . This signal is a impulse in frequency domain. I could not get much intuition about this signal. but I see this signal used in many applications related to radar. what is its property like? What difference will it cause in transmission( in terms of distance travelled, energy , power, reflections) when it is low frequency and high frequen...


Compiling (32-bit/64-bit problem)

Started by Burak Turker in Matlab DSP14 years ago

Hi, ? I have a question regarding compiling my program (a program with a GUI). I have 64-bit version of Matlab (R2009a) installed on my computer...

Hi, ? I have a question regarding compiling my program (a program with a GUI). I have 64-bit version of Matlab (R2009a) installed on my computer and therefore the .exe file I compile is a 64-bit application. I can run it without problems. However, some of the people I would like to send the application have 32-bit hardware and operating systems (mostly Windows on Intel based CPUs). So they can't...


Ask a Question to the DSPRelated community

To significantly increase your chances of receiving answers, please make sure to:

  1. Use a meaningful title
  2. Express your question clearly and well
  3. Do not use this forum to promote your product, service or business
  4. Write in clear, grammatical, correctly-spelled language
  5. Do not post content that violates a copyright