## Forums Search for: Waveform

## generating random waveform with gussian pdf

inGood day all, Want to make a program that generate a random waveform with a Gaussian pdf of zero mean and 2 Volts rms. Using vector of length...

Good day all, Want to make a program that generate a random waveform with a Gaussian pdf of zero mean and 2 Volts rms. Using vector of length 2048 and let the voltage values in the vector represent samples taken at 1millisecond intervals, so that the total duration of the signal is 2048 millisecond. plot the results waveform calculate the mean-square value of the wave form I kno...

## ASK waveform

inDoes any one know how to generate an ASK waveform on MatLab, the data stream is [11000101].Thanks ...

Does any one know how to generate an ASK waveform on MatLab, the data stream is [11000101].Thanks

## Waveform recovery in qam

dear all! i want to detect the waveform of the signal modulated using qam . The actual problem for this question lies in the...

dear all! i want to detect the waveform of the signal modulated using qam . The actual problem for this question lies in the phase recovery of the carrier at the receiver. in the digital domain it gets quite easier to detect the phase offset , but if the phase can be recovered

## create a pulse waveform from 200 samples of 1

inhai I tred to create a pulse waveform from 200 samples of 1 with this code samples=sign(randn(200,1)); plot(samples(1:200)). ...

hai I tred to create a pulse waveform from 200 samples of 1 with this code samples=sign(randn(200,1)); plot(samples(1:200)). But i am not getting correct result.Is there any other way to do it

## Power spectral density of jittered SQ waveform

inHi All, I am trying to plot the power spectral density of a jittered square waveform using psd() command.The program is given below.This...

Hi All, I am trying to plot the power spectral density of a jittered square waveform using psd() command.The program is given below.This seems to work fine but I have problems in [1] scaling the y-axis (the plot shows 0 - 3.6 but psd spectrum shows around 50 dB) and for some reason the grid command has no effect in this program [2] is there any method to calcu

## Creating I/Q files for a Rohde and Schwarz AMIQ

Good morning all; Has anyone written anything that creates an I/Q waveform in the format that the Rohde and Schwarz AMIQ can accept? If...

Good morning all; Has anyone written anything that creates an I/Q waveform in the format that the Rohde and Schwarz AMIQ can accept? If you have some code that would be very helpful in saving me from having to spend hours trolling the internet or wading through their manual. Regards -W

## Wave from matlab to C

In a C program I want to read a 16bit wave buffer which is stored in an mxArray. I have a problem with type convertion. For...

In a C program I want to read a 16bit wave buffer which is stored in an mxArray. I have a problem with type convertion. For example: ... double* pr=mxGetPr(mymxArray); I do not know how to handle the pr variable in order to extract the 16bit waveform.

## spectrogram 4 frequencies and amplitudes

Let?s say I have a square wave at a fixed 440 Hz. I want to use the spectrogram function, or something else in Matlab, to extract the...

Let?s say I have a square wave at a fixed 440 Hz. I want to use the spectrogram function, or something else in Matlab, to extract the harmonics of the waveform in order of their effect in making up the sound. So the output would be #1 = 440, etc. I?m not sure how to use the spectrogram function to go about extracting this specific info and saving the numeri

## mysterious click in audio file

inI wrote a Matlab program that generates overlapping timbres. It works fine, except that it causes a single clicking sound in the audio file...

I wrote a Matlab program that generates overlapping timbres. It works fine, except that it causes a single clicking sound in the audio file and I can't figure out where it is located. Usually I can identify a click's location by a visible discontinuity in the waveform, but in this case I see no discontinuities. The click comes in about halfway through this 1-second

## generating waveforms

inhi guys I'm very new to Matlab and DSP and am in a bit a nitch.I need to generate waveforms of 512 samples centred on sample 200 andI also...

hi guys I'm very new to Matlab and DSP and am in a bit a nitch.I need to generate waveforms of 512 samples centred on sample 200 andI also need to normalise the amplitude of each waveform to give it unity area The wave forms are: 1. rectangular and triangulr pulses with 45 samples wide 2. Gaussian with st of 13.5 and a hamming window at N=66 really struggling with this one problem in ...

## Waveform generation

hi guys I'm very new to Matlab and DSP and am in a bit a nitch. I need to generate waveforms with sampling rate 256 samples per cycle,...

hi guys I'm very new to Matlab and DSP and am in a bit a nitch. I need to generate waveforms with sampling rate 256 samples per cycle, frequency 50 Hz and duration five cycles. 1. for normal signal x(t)=Asin wt, A=1 2. Voltage sag signal x(t)=A(1-alpha(u(t-t1)-u(t-t2)))sinwt where t1 =0, u(t)=0, t

## How to plot a rectangular pulse waveform ?

inHi all out there! I'm a newbie in this Discussion Group and beggining in matlab signal plotting and processing. So, i need some help: I want...

Hi all out there! I'm a newbie in this Discussion Group and beggining in matlab signal plotting and processing. So, i need some help: I want to plot a rectangular pulse with amplitude=1 in odd ranges (integer part) and amplitude=0 in even ranges. Anyone can help me? Thanks in advance. Best Regards

## ?? sample rates more than 100kHz

inhi everybody, i am not able to obtain a sampling rate more than 110 kHz using MATLAB or BORLAND C++ 5. If I use more than 1 MHz...

hi everybody, i am not able to obtain a sampling rate more than 110 kHz using MATLAB or BORLAND C++ 5. If I use more than 1 MHz sampling rate, then more and more samples has the same value; getting a random step waveform. If any body knows how to obtain higer sample rates of th

## Voice recognition

Hi everyone, I am working on a voice recognition project. A speaker speakes a few pre-defined words into the system, and the...

Hi everyone, I am working on a voice recognition project. A speaker speakes a few pre-defined words into the system, and the system matches the audio waveform with stored templates. If there is a match, Matlab returns a value to the user. If there is no match, user access shall be de

## voice recognition system

inHi everyone, I am working on a voice recognition project. A speaker speakes a few pre-defined words into the system, and the...

Hi everyone, I am working on a voice recognition project. A speaker speakes a few pre-defined words into the system, and the system matches the audio waveform with stored templates. If there is a match, Matlab returns a value to the user. If there is no match, user

## Genetic algorithm gene encoding

Hi Friends, I am writing a simple genetic algorithm in matlab. Note I am not using the GA toolbox, just the Matlab language. I wish to encode...

Hi Friends, I am writing a simple genetic algorithm in matlab. Note I am not using the GA toolbox, just the Matlab language. I wish to encode `the genes' as unique binary strings. The algorithm is iteratively deriving a formula between overhead transmission line fault location and features on the associated current waveform's FFT spectra. The genes will represent operators, i.e. plus, minus, mu...

## Need advice on sample rate conversion

I am creating a pseudo WiMAX waveform that can be played as I/Q samples out of an arb. I've completed the framing structure and populated the...

I am creating a pseudo WiMAX waveform that can be played as I/Q samples out of an arb. I've completed the framing structure and populated the carriers with random data. I need some advice on the best way to convert a OFDM signal to the arb's faster sample rate. I have access to the Communications toolbox DSP toolbox RF toolbox I am not familiar with Simulink, so please let's j...

## training neural network using output signal from filter

Dear all, I am creating a speech recognition system using simulink. I wish to compare my output signal from my filter in...

Dear all, I am creating a speech recognition system using simulink. I wish to compare my output signal from my filter in neural network. What type of input can a neural network recognise? Is it just a string of vector? Can it be a waveform/signal? If really ne

## Decode MSK from .wav file

Hi all, I've some MSK-modulated data in a .wav file I would like to decode with Matlab. My idea was to use the wavread() function to load data...

Hi all, I've some MSK-modulated data in a .wav file I would like to decode with Matlab. My idea was to use the wavread() function to load data from the file, and then use mskdemod() from the Communications Toolbox for decoding. That didn't work however, because mskdemod() only accepts a complex waveform array, while wavread() gives me just a vector of real values. Is there any simple solution t...

## plotting dsbsc using a carrier and a message

Hi guys, I am new to matlab and am having problem plotting a carrier signal,multiplting my message signal and carrier signal and plotting the...

Hi guys, I am new to matlab and am having problem plotting a carrier signal,multiplting my message signal and carrier signal and plotting the resulting doublesideband suppress carrier. Am having problem choosing the right sample frequency.either I have too much waveform in the figure or i dont have enough. my carrier signal is c=Ac*cos(2*pi*fc*t).amp(Ac)=1.8V, freq(fc)=100khz. my messag...