MATLAB Gaussian Pulse

Gaussian pulse shape description:

The diagram of a Gaussian is a trademark symmetric "ringer bend" shape. The boundary an is the stature of the bend's pinnacle, b is the situation of the focal point of the pinnacle and c (the standard deviation, some of the time called the Gaussian RMS width) controls the width of the "bell".

Gaussian capacities are frequently used to address the likelihood thickness capacity of a typically dispersed irregular variable with anticipated value µ = b and difference σ2 = c2.

Where is gaussian pulse used?

  • Gaussian functions are generally utilized in insights to depict the typical circulations, in signal handling to characterize Gaussian channels, in picture preparing where two-dimensional Gaussians are utilized for Gaussian foggy spots.
  • In science, Gaussian pulse is used to settle heat conditions and dispersion conditions and to characterize the Weierstrass change.

Code in Matlab with explanation in the form of comments:

Fs1 = 70; % frequency for sampling 
t3 = -.6:1 / Fs1 : .6;
xq = 1 / (sqrt ( 2 * pi * 0.01 ) ) * (exp(-t3. ^ 2/ (2 * 0.01) ) ) ;
nfft1 = 1024 ; % FFT length
- - - - - - - - - -- - - - - - - - - -- - - - - - - - - -- - - - - - - - - -- - - - - - - - - -- - - - - - - - - -- - - - - - - - - -- - - - - - - - - - 
%taking fft, and we are trying to perform padding with 0’s so that the given length(X1)
% is shifted - - -  - - > nfft1
X1 = fft(xq, nfft1);
%FFT symmetric
X1 = X1(1 : nfft 1 / 2) ;
%magnitude of FFT1 of xq
mx1 = abs(X1 ) ;
% freq vector of the evenly space is
f = (0 : nfft1 / 2 – 1 ) * Fs1 / nfft1;
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
figure( 1 ) ;
plot( t3, xq ) ;
% here title is set as “ the Gaussian Pulse Signal generation ”
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 


title(' the Gaussian Pulse Signal generation ' ) ;
xlabel(' Time ( s ) ');
ylabel(' Amplitude- - - - - -  - - >');
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
figure( 2 ) ;
plot(f , mx 1 );
% here title is set as “ the Power Spectrum of Gaussian Pulse ”
title(' the Power Spectrum of Gaussian Pulse' ) ;
xlabel(' the Frequency ( Hz) ' )
ylabel(' the Power');

Output: We obtain two figures as follows.

MATLAB Program for Gaussian Pulse MATLAB Program for Gaussian Pulse

Related Topics

Matlab Matrix

Matlab Matrix What is a Matrix? a rectangular array of expressions arranged in particular rows and columns that is treated as a solitary substance and controlled by specific standards. MatlabMatrix A Framework called matrix,...

5 minutes read.

matlab polynomials

In mathematics, a polynomial is an articulation comprising of indeterminates factors and the respective coefficients, that includes just the tasks of augmentation, expansion, deduction, and non-negative whole number exponentiation of...

4 minutes read.

MATLAB Gaussian Pulse

Gaussian pulse shape description: The diagram of a Gaussian is a trademark symmetric "ringer bend" shape. The boundary an is the stature of the bend's pinnacle, b is the situation of...

3 minutes read.

MATLAB Linear Convolution problem solving

What is linear convolution? In science (specifically, useful examination), convolution is a numerical procedure on two capacities (f1 and g1) that communicates how the state of one is adjusted by the...

4 minutes read.

Matlab Algebra

Up until now, we have seen that every one of the models work in MATLAB just as its GNU, then again called Octave. In any case, for addressing fundamental mathematical...

6 minutes read.

MATLAB Loops

Loops in programming Concept of looping is used to execute instructions repeatedly. It helps coders to reduce lines of code by setting a condition. In looping first a condition is fixed,...

3 minutes read.

MATLAB Scripts

Scripts Introduction Matlab Script represents some programs and is executed like we execute command in the command window of Matlab’s environment. Matlab script is also defined as a sequence of commands;...

6 minutes read.

MATLAB Vector

Introduction to MATLAB vector Vectors are one of the representations of arrays. It tends to be addressed in two different ways line(row) vector and section(column) vector. A vector is defined as...

5 minutes read.

MATLAB Features

MATLAB Features MATLAB (abbreviation for matrix laboratory) is an interactive programming environment that eases high-power computations in the IT world. Initially, it was developed with the intention of matrix calculation only....

4 minutes read.

Matlab DFT and IDFT

Matlab Program- (DFT and IDFT of a sequence) Program for DFT (Discrete Fourier change) and IDFT (Inverse discrete Fourier change) of a sequence. Program explanation: In Arithmetic, the discrete Fourier change (DFT) changes...

3 minutes read.

MATLAB vs Other Languages

MATLAB vs Other Languages If we try to find which is the best computer programming languages, the answer is not straightforward, and that might sound similar to asking which is the...

3 minutes read.

MATLAB Strings

You can address text in MATLAB utilizing string exhibits. Every component of a string exhibit stores a grouping of characters. The arrangements can have various lengths without cushioning, for example,...

5 minutes read.

MATLAB Operators

What is an Operator? A specific operation is performed by using a symbol which is called an operator. Example: A+B, where A, B are called operand and '+' is called operator. If you...

8 minutes read.

matlab Integral

What is integration? In maths, Integral allots numbers to functions in a manner that portrays relocation, region, volume, and different ideas that emerge by consolidating tiny information. The way toward discovering...

5 minutes read.

Matlab Square Wave Signal Generation

What is Square Wave signal Generator? A “square wave” is a sort of non-sinusoidal waveform, most normally experienced in gadgets and sign preparing. An optimal square wave substitutes consistently and momentarily...

3 minutes read.

MATLAB Setup And Environment

MATLAB Setup And Environment MATLAB System Requirements As we have already discussed the prerequisite to begin the learning journey of MATLAB now let us drive into some technical system requirements. RAMàMinimum 4GB or...

3 minutes read.

Matlab Calculus

Analytics Calculus is significant in various fields like designing, physical science, and different sciences, yet the estimations are finished by machines or PCs, regardless of whether they are into Physics...

3 minutes read.

MATLAB Transform

MATLAB furnishes for working with changes, for example, the Laplace and Fourier changes. Changes are utilized in science and designing as an instrument for improving on investigation and take a...

5 minutes read.

MATLAB Variables

What are variables? A variable is a storage location or a container to store or hold data. In programming, variables are used to reservedata created by the programmers so that it...

4 minutes read.

Matlab function

Introduction: Functions in MATLAB are composed with code that link one variable with another, and yielded output is connected precisely to one specific information that shapes a significant piece of any...

6 minutes read.