DSPRelated.com

Do MATLAB Component Runtime come with Matlab Engine?

Started by kool_ajith in comp.dsp19 years ago

Hi, I have a MATLAB Component Runtime installation for Matlab v7.2. 1) I want to know if this installation contains Matlab Engine? 2) Or...

Hi, I have a MATLAB Component Runtime installation for Matlab v7.2. 1) I want to know if this installation contains Matlab Engine? 2) Or do I need the complete package that contains Matlab IDE also. 3) In this installation it does not have Matlab.exe. 4) Now I want to use API calls available in Matlab to call functions COHERE used to find Coherence and TFE to calculate Transfer funct...


Execution times of FFT in MATLAB vs complex FFT in C

Started by Anders in comp.dsp22 years ago 5 replies

Hello, I measured the execution time of a 2^20 point FFT in MATLAB. It takes 703ms do do one 2^20 point complex FFT in MATLAB. If I do a 2^20...

Hello, I measured the execution time of a 2^20 point FFT in MATLAB. It takes 703ms do do one 2^20 point complex FFT in MATLAB. If I do a 2^20 complex FFT in C it takes 3.3 seconds. How come it takes 4 times longer in C compared to in MATLAB? Has anyone compared the Intel Math Kernel Library (MKL) FFT with MATLAB in terms of execution time? Thanks for any replies.


EMG analysis in matlab

Started by mary27 in comp.dsp15 years ago 2 replies

Hi, I am having a project where I have to open a EMG signal from muscles in matlab and use to it find a few parameters. I'm a beginner in matlab...

Hi, I am having a project where I have to open a EMG signal from muscles in matlab and use to it find a few parameters. I'm a beginner in matlab so I apologize if my questions might sound too simple. first, the file for my signal is a .mat file. I know how to load it in matlab but how can I open it as a figure? (a plot of my signal) I mean I wanna see my signal in matlab. second, I need to find...


Calculate MACs in MATLAB

Started by pikey in comp.dsp18 years ago 19 replies

I am doing a project in matlab to compare the computational complexities of two systems the problem I have is that I need to work out how many...

I am doing a project in matlab to compare the computational complexities of two systems the problem I have is that I need to work out how many multiply and adds a 150 point ifft uses in matlab from what I can work out MATLAB uses the Prime Factor algorithm to do this but I am having trouble working out how many MACS are done. Does matlab have the ability to feed back this information? Thanks ...


Matlab arrays to C code

Started by Pasi in comp.dsp21 years ago 4 replies

Hi! How can I c+p matlab arrays (very large) to c code? Can I write it to some file in matlab? Like: in matlab --- > > S=[1 2 3 4 5;2...

Hi! How can I c+p matlab arrays (very large) to c code? Can I write it to some file in matlab? Like: in matlab --- > > S=[1 2 3 4 5;2 3 4 5 6] S = 1 2 3 4 5 2 3 4 5 6 --- In c: --- int S[2][5] ={ {1, 2, 3, 4, 5}, {2, 3, 4, 5, 6} }; --- If I c+p directly this text from matlab to c code, I have very much to the doing.


Matlab fft and Intel MKL

Started by tadhgm in comp.dsp19 years ago 2 replies

Hello Everyone, I am new to the site so bare with me. I am working on a college project involving convolution operations on complex 2D data....

Hello Everyone, I am new to the site so bare with me. I am working on a college project involving convolution operations on complex 2D data. The original code for this program was written in Matlab and the C/C++ code that I am developing has to match the Matlab Implementation. So far I have been able to replicate the same data in Matlab except for the output from the Matlab FFT. When I use the ...


Autocorrelation matrix of a long sequence

Started by sasuke in comp.dsp17 years ago 13 replies

Hi I am using MATLAB to generate close to 10^8 samples of a Rayleigh fading channel using Jakes method. Once I generate these samples, I have...

Hi I am using MATLAB to generate close to 10^8 samples of a Rayleigh fading channel using Jakes method. Once I generate these samples, I have to then create a 20 x 20 autocorrelation matrix. I am using MATLAB to do this. MATLAB works perfectly for 10^6 samples, but once the number of samples increases slightly above 50 * 10^6, MATLAB throws an "OUT of Memory" error. I tried some techniques give...


From theory to practice - DSP with matlab book?

Started by Benjamin S. in comp.dsp14 years ago 13 replies

I'm familiar with stationary (FIR/IIR) and adaptive filtering. My matlab skills are OK but I've never done any practical DSP in matlab. There is...

I'm familiar with stationary (FIR/IIR) and adaptive filtering. My matlab skills are OK but I've never done any practical DSP in matlab. There is a book called "Digital Signal Processing using Matlab" by Ingle and Proakis. It starts with very simple things which I find extremely boring so I wonder whether it's the best way to learn how to process some signals. Any useful tutorials or adv...


Weibul Fading in Matlab

Started by ssohaib in comp.dsp16 years ago

I know that Rayleigh fading channel can be generated in Matlab using H = sqrt(0.5)*( randn( 1,1) + j*randn( 1,1) ); Any idea how to...

I know that Rayleigh fading channel can be generated in Matlab using H = sqrt(0.5)*( randn( 1,1) + j*randn( 1,1) ); Any idea how to generate Weibull Fading in matlab? There is a command wblrnd in matlab but it giving me the real number only. Kindly help me! thanks, sohaib


help on abs() within matlab

Started by skyworld in comp.dsp16 years ago 6 replies

Hi, I'm new to matlab and I'm developing fft matlab code for hardware prototype. I have passed floating point code and try to verify it...

Hi, I'm new to matlab and I'm developing fft matlab code for hardware prototype. I have passed floating point code and try to verify it with fixed point algorithm. I met problem here. 1). I use fi(x) to define input and then use fft(x) to check matlab original results. I got message: Function 'fft' is not defined for values of class 'embedded.fi'. Why I can't use fft() here? Is there a solu...


Matlab and VC++ values differ when determining FFTusing FFTW

Started by chiraag in comp.dsp17 years ago 6 replies

Hi there, I have recently started using FFTW to determine fft in C++, so I am really not good at it. I am currently trying to just evaluate my...

Hi there, I have recently started using FFTW to determine fft in C++, so I am really not good at it. I am currently trying to just evaluate my fft values in both matlab and C++. I have used FFTW to determine the fft in C++ and fft2 in matlab for a 4*4 matrix [int values]. My values were same in both Matlab and C++. My real requirement is to use fft on complex matrices. But my values no longer m...


Help on MATLAB debugging

Started by kishan85 in comp.dsp16 years ago 5 replies

Dear DSP experts, I am a newbie to this group and also to DSP .Currently am having a DSP course and practicing MATLAB to learn concepts...

Dear DSP experts, I am a newbie to this group and also to DSP .Currently am having a DSP course and practicing MATLAB to learn concepts faster.I am also using the book Digital Signal Processing Using MATLAB by Dr.Ingle & Dr.Proakis. When I try to execute the programs ,I get an error undefined function or method.I think these are programs that are done with MATLAB 5 or some earlier version. ...


MATLAB engine benefits

Started by part...@yahoo.com in comp.dsp18 years ago 2 replies

Hello all, I have never used the MATLAB engine from C before. I have a very basic question: What exactly is the benefit of this? To provide...

Hello all, I have never used the MATLAB engine from C before. I have a very basic question: What exactly is the benefit of this? To provide some more detail, for example, if I were to perform a conjugate multiply of two very large arrays, MATLAB would typically barf because of "out of memory" issues. Would running MATLAB functions "behind the scenes" by invoking the engine help in this ...


matlab code?

Started by tomme1982 in comp.dsp18 years ago 1 reply

I need help with implementing a beamformer in matlab. I have a received field on an array. From what I understand I should do a fft and then...

I need help with implementing a beamformer in matlab. I have a received field on an array. From what I understand I should do a fft and then multiply with a exponential function that represents the phase shift. I´m having trouble with the code-writing in matlab, does anyone have a some easy beamforming example code in matlab? My goal is to make a BTR (bearing-time-recorder) Help would...


adaptive MISO in matlab

Started by munchkin in comp.dsp18 years ago 10 replies

Hello! I would like to adapt a MISO filter of more than 1000 coefficients. In matlab, there is adaptfilt.algorithm which works for SISO. I...

Hello! I would like to adapt a MISO filter of more than 1000 coefficients. In matlab, there is adaptfilt.algorithm which works for SISO. I have 2 Questions: 1) Is there a function in matlab which will adapt a MISO filter? 2) Does anyone know a way to view the matlab code for adaptfilt/filter? Thanks so much! -Caryn


5 Stages CIC Filter Matlab Simulation Problem

Started by Anonymous in comp.dsp18 years ago 1 reply

I implemented the matlab simulation model according to hardware architecture.The impulse response is ok when the impulse length is short.But...

I implemented the matlab simulation model according to hardware architecture.The impulse response is ok when the impulse length is short.But when I increase the length of impulse stimulus, I found increasing spurs. I don't know whether this is caused by the instability of the filter or some other reasons. Attached is the matlab code,and at the end of code I added the matlab internal function...


MC-CDMA simulation using Matlab

Started by BULDO in comp.dsp18 years ago 1 reply

I am simulating MC-CDMA using Matlab. Here is the message Maltab returned when I ran the simulation: Undefined function or method 'snr' for...

I am simulating MC-CDMA using Matlab. Here is the message Maltab returned when I ran the simulation: Undefined function or method 'snr' for input arguments of type 'char'. Error in ==> MCCDMA at 10 snr _in_ dB = 0:1:15; I am using Matlab 2007b and the Matlab code is: % MCCDMA % % for simulation % %%%%%%%%%%%%%%%%%%%% %%% Transmitter Model %%% clear all; clc;close all; tic;


Will I be able to speedup "fft" significantly in Matlab?

Started by Vista in comp.dsp19 years ago 5 replies

Matlab's "fft" function is of course highly optimized over the years... Will I be able to speed it up by a factor of at least 10, by using...

Matlab's "fft" function is of course highly optimized over the years... Will I be able to speed it up by a factor of at least 10, by using a third-party C/C++ or Fortran FFT/IFFT program that is callable from within Matlab? That's to say, I try to find a third-party program, and modify it into a MEX format, and compile it, and then call this function from within Matlab. Will I be able to ...


MATLAB algorithmic statements to C

Started by Hyoung Lee in comp.dsp21 years ago 1 reply

[Please excuse this topic if this it has been covered (I attempted to search past messages without success)]. Is there a translator that...

[Please excuse this topic if this it has been covered (I attempted to search past messages without success)]. Is there a translator that translates MATLAB algorithmic statements into C statements? I have been using R14 MATLAB and MCC to translate M-Files into DLLs in the Windows environment. But, for TI DSPs, I had to manually translate MATLAB statements into C statements. When I use...


Reg CCS5000 with MATLAB

Started by Anonymous in comp.dsp21 years ago 5 replies

Hi all, I am working on TMS320C5510 for Image processing applications. I have some useful codes in MATLAB. How can i...

Hi all, I am working on TMS320C5510 for Image processing applications. I have some useful codes in MATLAB. How can i execute MATLAb files with CCS ? Is there any need copying all Library files of MATLAB lab in to CCS ? I think it is bot a better option. Any one master in this field , please help me. Thanks and in adavance, Best Regards, Sathish At...