## Forums matlab

## decimation filter for high order decimation rate

Hi ALL I working on application that i need to sample 1.9Khz signal by 1Mhz , its mean 512 OSR - AFTER SIGMA DELTA MODULATION ( FOR SEPARATE...

Hi ALL I working on application that i need to sample 1.9Khz signal by 1Mhz , its mean 512 OSR - AFTER SIGMA DELTA MODULATION ( FOR SEPARATE the quantization noise from the signal) i need to decimate the signal by decimation rate of 512. i decided to use CIC filter to decimate by 128 and then cascade more 2 FIR - one as compensator and the other for the phase linearization. the DC gain in t...

## Converting image from grayscale to RGB

inHi I am trying to write a Matlab program and having hard time figuring out how to convert back an image which have been converted to gray...

Hi I am trying to write a Matlab program and having hard time figuring out how to convert back an image which have been converted to gray scale to RGB for instance : IRG = imread('someimage.bmp'); X = rgb2gray(IRG); after doing my operations on X how can I convert it back to RGB I'll really appreciate it if anyone can help me

## 16 QAM in Matlab

Hi, I have to drew constellation diagram for 16 QAM modulation but I dont know how. Sampling frequency is 32khz and frequency of a carrier is...

Hi, I have to drew constellation diagram for 16 QAM modulation but I dont know how. Sampling frequency is 32khz and frequency of a carrier is 8khz. If you need something more ask me. Here is my code in CCS if that could help you: #include "tonecfg.h" #include "math.h" #include "dsk6713.h" #include "dsk6713_aic23.h" #define pi 3.14159 DSK6713_AIC23_Config config = { 0x0017, //...

## MATLAB CODE FOR ASK - Correction Required

Hello I got an assignment to generate an ASK using carrier frequency 10MHZ and Digital signal as 110001011 I used below code to generate...

Hello I got an assignment to generate an ASK using carrier frequency 10MHZ and Digital signal as 110001011 I used below code to generate digital signal which is working as expected % Plot for Modulating wave 110001011 clc close all clear all t0=0:0.01:0.02; x0=ones(size(t0)); t1=0.02:0.01:0.05; x1=zeros(size(t1)); t2=0.05:0.01:0.06; x2=ones(size(t2)); t3=0.06:0.01:0.07; x3=zero...

## cleaning physiological data for FFT

Hi all, I'm new to DSP and Matlab and come from a non-engineering background (so go easy on me!), and have a few basic questions. As part of my...

Hi all, I'm new to DSP and Matlab and come from a non-engineering background (so go easy on me!), and have a few basic questions. As part of my psych studies im tracking the diameter of the pupil over 60s, at 60 samples a second. This is in response to stimuli of varying frequencies between 0 and 7 Hz. I plan to investigate the responses using FFT in Matlab My problem is that if someone bl...

## Please help: BER for QPSK in OFDM over Rayleigh matlab code doesn't work.

I try to implement the matlab code on BER for QPSK in OFDM over rayleigh channel (with n taps). However the result is a straight line. There must...

I try to implement the matlab code on BER for QPSK in OFDM over rayleigh channel (with n taps). However the result is a straight line. There must be something wrong in my code but I cannot figure it out what is wrong. Could you please help me to check it. I have to hand the work soon. Please please please help. Thank you very much. [QUOTE]clear; clc; N=64; % FFT size Nsd = 48; % Number of ...

## Noise in ECG data

inhi, I am doing project of ECG acquiring on C5505. I got results successfully on the PC Application. My ECG results are good and their shape...

hi, I am doing project of ECG acquiring on C5505. I got results successfully on the PC Application. My ECG results are good and their shape matches those available on the real ECG machines. And I am writting am algorithm for little diagnosis. But the ECGs are still suffering from some humming noise and some inherited noise. I already implemented digital filters on DSP but in vain. ...

## Correlation for finding peaks

I have a 32x25 matrix with 800 elements. There are 50 Training bit values, whose locations are known and are fixed in the matrix. The 800 elements...

I have a 32x25 matrix with 800 elements. There are 50 Training bit values, whose locations are known and are fixed in the matrix. The 800 elements are indices which can take up any value between 1 and 64 (decimal) or hexadecimal or binary. Data given to me has 37 assigned as the training bit value. So, of the 800 elements, I will have 50 37's and the rest 750 elements can take up any value between...

## Normalized frequency

Hi ALL I will really appreciate any help or suggestion i am new to MAtlab , i was ploting the data using a code that was making the average...

Hi ALL I will really appreciate any help or suggestion i am new to MAtlab , i was ploting the data using a code that was making the average of set of data but the plot was not that good of presentation. so instead of average i need to do the y axis to represent how frequently does the number 1 for example appear in a list of data 1 2 1 5 4 6( this just an example my date is like a ro...

## How to calculate FIR filter coefficients?

inhi, I am trying to implement digital FIR filter in my DSP kit. I don't know how to calculate the FIR coefficients. I know the order, sampling...

hi, I am trying to implement digital FIR filter in my DSP kit. I don't know how to calculate the FIR coefficients. I know the order, sampling frequency and my signal bandwidth. I want to design Multi band pass filter. Can anyone help me in this regard and may be e mail me the procedure. It would be very much grateful. My id is (t...@yahoo.com) Thanks.

### Ask a Question to the DSPRelated community

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

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