## spatial filtering

Started by in Matlab DSP11 years ago 1 reply

thx form moderator i'm a new member in this group & beginner in matlab may i question about problem in spatial filtering in image...

thx form moderator i'm a new member in this group & beginner in matlab may i question about problem in spatial filtering in image processing how we count convolution method using robert cross gradient operator example : robert operator -1 0 ?0 1 image : A B C D E F G H I J K L M N O P new image in : A11 = A...

Started by in Matlab DSP11 years ago 3 replies

Hi, very new to all this, so aplogise if this info is available; I want to be able to analyse 2 sounds,and identify where their...

Hi, very new to all this, so aplogise if this info is available; I want to be able to analyse 2 sounds,and identify where their frequencies mask eachother (based on gain, frequency etc). is there an equation which covers frequency masking, or better still is their matlab code which will calculate this? Cheers, Josh

Started by in Matlab DSP11 years ago 1 reply

Hi every body expert in matlab, I have excel data (.xls) store in my hard disk, (for example data namely 12_1.xls, 12_2.xls, 12_3.xls ... and...

Hi every body expert in matlab, I have excel data (.xls) store in my hard disk, (for example data namely 12_1.xls, 12_2.xls, 12_3.xls ... and 12_6.xls). As I know to load excel data we use xlsread command , for my own m file: data_1=xlsread('12_1.xls); . . . bla.. bla ---> my own script to process the data_1 then I save, new_name1.txt -ascii data_1 If I want to process the ne

## Recursion limit

Started by in Matlab DSP11 years ago 2 replies

Dear all Hope every body is doing well. I tried to run a matlab code in which an audio data is read from a .wav file then process them, after...

Dear all Hope every body is doing well. I tried to run a matlab code in which an audio data is read from a .wav file then process them, after waiting for a mtalab busy, the following red message appears in my command window: Maximum recursion limit of 500 reached. Use set(0,'RecursionLimit',N) to change the limit. Be aware that exceeding your available stack space can crash MATLAB and/or...

## Fw: Interfacing Matlab with C++

Started by in Matlab DSP11 years ago

Dear Sumon Having a quick look on your code I felt that you were also doing your processing in mexFunction() which may be causing the...

Dear Sumon Having a quick look on your code I felt that you were also doing your processing in mexFunction() which may be causing the problem - you may need to write your desired function saparately in the same file where you have mexFunction() . Following is the code which I wrote when I did it. Basically, I needed a function to shift a 16-bit number to the left or right and th...

## Fw: Interfacing Matlab with C++

Started by in Matlab DSP11 years ago

Hi sumon You can use 'external interface'  utility in Matlab to interface c/c++ code to Matlab. I did it 5 years ago so couldn't remember...

Hi sumon You can use 'external interface'  utility in Matlab to interface c/c++ code to Matlab. I did it 5 years ago so couldn't remember everything but I am sure its easy, you will need to do a bit of reading in Matlab help for 'External Interface'. In the meanwhile, I will search the work I did, if I find anything I will forward it to you. Regards Anser  ----- Forwarded M...

## prewhitening a signal in matlab

Started by in Matlab DSP11 years ago 4 replies

Hello, I am looking at a time series that doesn't have a white spectrum, and I would like to whiten it. In theory, I understand whitening as...

Hello, I am looking at a time series that doesn't have a white spectrum, and I would like to whiten it. In theory, I understand whitening as taking a signal which is not white, fourier transforming it, then dividing its magnitude by its magnitude (so that it is 1 = white) and then inverse fourier transforming it. I know that for a signal which is discrete and finite, that this division by its...

## Coherence matlab

Started by in Matlab DSP11 years ago

Hi all, I would appreciate your help with the following problem. I am trying to use matlab for coherence calculation accordign to the...

Hi all, I would appreciate your help with the following problem. I am trying to use matlab for coherence calculation accordign to the mathematical definitions and without using the available coher functions. The two signals are defined as follows: =================== % Original signal % =============== N=5000; % Number of samples t=1:1:N; a=0.5+0.5*sin(2*pi*0.6*t*10^-3); % Base ...

## fading channel simulation with Monte-Carlo method

Started by in Matlab DSP11 years ago

I'm working on a fading simulation in Matlab based on the work of Nikolay Kostov : http://www.radioeng.cz/fulltexts/2003/03_04_12_16.pdf but...

I'm working on a fading simulation in Matlab based on the work of Nikolay Kostov : http://www.radioeng.cz/fulltexts/2003/03_04_12_16.pdf but I find different results in the experimental BER from the theoretical one while performing simulations for M-PAM and M-QAM modulations. the first function generates the fade coefficients to simulate the fading channel ( Rayleigh / Rician ), the second o...

## Sending the circuit files to pspice and getting back the analyses results

Started by in Matlab DSP11 years ago 1 reply

I am working on some ciruit simulation problem that would require the pspice readable(.cir)file designed in Matlab to be run on PSPICE and the...

I am working on some ciruit simulation problem that would require the pspice readable(.cir)file designed in Matlab to be run on PSPICE and the analyses result from PSPICE to be automatically retrieved in Matlab. I have seen one message showing how to read the Pspice result in matlab but has any one an idea how to direcly run Pspice simulation from Matlab?