## Spiral cone in MATLAB (no built in function)

MATLAB CODE: t=0:0.0001:30*pi; x=t.*cos(t); y=t.*sin(t); plot3(x,y,t) This is a very simple code. Check, how to ...

## MATLAB Program for Hypnotic Spiral Vector Image

Program: Code for Hypnotic spiral vector image t=0:0.001:30*pi; x=t.*cos(t); y=t.*sin(t); plot(x,y); axis square  Join ...

## Video Processing in MATLAB

Process video with functions and System objects that read and write video files, perform feature extraction, motion estimation and object...

## Data Analysis with MATLAB for Excel Users

Many technical professionals find that they run into limitations using Excel for their data analysis applications. This webinar highlights ...

## MATLAB for New Users

Join us as we introduce MATLAB, the easiest and most productive software for engineers and scientists. Whether you’re analyzing data, dev...

## Linear convolution using Circular convolution(Without conv function)

MATLAB Program: Linear convolution without conv function code: x1_n=input('Enter the first sequence'); x2_n=input('Enter the...

## How to Create a GUI with GUIDE - MATLAB Tutorial

Learn how to create a graphical user interface using GUIDE, the graphical user interface development environment of MATLAB. ...

## How to Write a MATLAB Program - MATLAB Tutorial

Learn how to write a basic MATLAB program using Live Scripts and learn the concepts of indexing, if-else statements, and loops. ...

## Circular shift in MATLAB(with and without built in function)

CODE: Without built in function: x_n=input('Enter the sequence:'); m=input('Enter required amount of shift:'); N=le...

## Example 2 on circular convolution in MATLAB

CODE: x1_n=[1 2 3 1]; x2_n=[4 3 2 2]; N=4; X1_K=fft(x1_n,N); X2_K=fft(x2_n,N); X3_K=X1_K.*X2_K; x3_n=ifft(X3_K) Output: x3_n...

## Circular Convolution using MATLAB

Code: x1_n=[0 1 0 1]; x2_n=[1 2 1 2]; N=4; K=0:3; X1_K=fft(x1_n,N); X2_K=fft(x2_n,N); X3_K=X1_K.*X2_K; x3_n=ifft(X3_K) ...

## Inverse FFT(DFT) in MATLAB

Example 1: X_K=[12,1+0.4142*j,0,1+2.4142*j,0,1-j*2.4142,0,1-0.4142*j]; x_n=ifft(X_K) Example 2: X_K=[10,-2+2*j,-2,-2-2*j]; x_n=...

## Discrete Fourier Transform in MATLAB

For DFT x_n=[1/3,1/3,1/3,zeros(1,13)]; N=16; K=0:15; X_K=fft(x_n,N); subplot(2,1,1); stem(K,abs(X_K)); ylabel('Magnitude par...

## FAST FOURIER TRANSFORM in MATLAB

clc n=0:3; x_n=[1,1,2,3]; subplot(3,1,1); stem(n,x_n); N=4; X_K=fft(x_n,N); k=0:3; subplot(3,1,2); stem(k,abs(X_K)); subplot(3,1...

## Numerical Problem on DTFT using MATLAB

CODE: w=0:0.01:2*pi; r=0.9; w0=pi/2; a=-r*cos(w0); alfa=2*a; beta=r^2; num=[1 a]; den=[1 alfa beta]; h=freqz(num,den,w); subplot(2,1,1); pl...

## Discrete Time fourier transform in MATLAB|PART 3

Code: w=-4*pi:0.01:4*pi; num=[2 1]; den=[1 -0.6]; h=freqz(num,den,w); subplot(2,2,1); plot(w/pi,abs(h)); ylabel('Magnitude'); s...

## Discrete Time Fourier Transform in MATLAB|Part 2

CODE: w=0:0.01:2*pi; a=; b=[1 -0.8]; h=freqz(a,b,w); subplot(2,1,1); plot(w/pi,abs(h)); ylabel('Magnitude'); subplot(2,1,2); plo...

## Discrete Time Fourier Transformation in MATLAB|PART 1

The discrete-time Fourier transform has essentially the same properties as the continuous-time Fourier transform, and these properties pla...

## Signal Energy in MATLAB

Use MATLAB to determine the energy of the sequence x[n]=2n, −4 ≤n ≤ 4 n=-4:4; x_n=2*n; E=sum(abs(x_n).^2)

## Numerical on Random sequences generation in MATLAB

Program: n=0:50; x_n=cos(0.04*pi*n); w_n=randn(size(n)); z_n=x_n+w_n; stem(n,z_n);

## Random sequence Generation in MATLAB | Part 1

Many practical sequences cannot be described by mathematical expression. These sequences are called random (or stochastic) sequences and ...

## Plot a unit circle using sine and cosine functions in MATLAB

Program: syms t; t=0:0.001:2*pi; x=cos(t); y=sin(t); plot(x,y); axis square;

## Realization of a periodic Signal in MATLAB

MATLAB Program: n=-20:20; x_n=cos(3*pi*n/7); subplot(2,1,1); stem(n,x_n); subplot(2,1,2); plot(n,x_n);

## Signum function in MATLAB

Program: n=-20:20; x_n1=n>=0; subplot(3,1,1); stem(n,x_n1); x_n2=n<=0; subplot(3,1,2); stem(n,x_n2); sgn_n=x_n1-x_n2; subplot(3...

## Numerical questions on Digital Signal Processing

Matlab questions on Digital Signal Processing n=-5:5; x_n1=n==-2; x_n2=n==4; y_n=2*x_n1-x_n2; stem(n,y_n); xlabel('Time Sample'); ...

## Complex Exponential Signal in MATLAB

MATLAB Program: n=-20:20; alfa=-0.1+0.3j; x_n=exp(alfa*n); subplot(4,1,1); stem(n,real(x_n)); xlabel('Time Samples'); ylabel('R...

## MATLAB Program for Dicrete Unit Impulse Function

Program: n=-4:4; delta_n=[0,0,0,0,1,0,0,0,0]; stem(n,delta_n); xlabel('Time Sample'); ylabel('Amplitude'); ...

## WLAN Simulation Using MATLAB

WLAN Toolbox™ provides standard-compliant functions for the design, simulation, analysis, and testing of wireless LAN communications syste...

## LTE Simulation using MATLAB

LTE Toolbox™ provides standard-compliant functions and apps for the design, simulation, and verification of LTE, LTE-Advanced, and LTE-Adv...

## 5G Simulation using MATLAB

5G Toolbox™ provides standard-compliant functions and reference examples for the modeling, simulation, and verification of 5G communicatio...

## Real Time Motor Model for HIL Testing using MATLAB

Motor modeling and motor simulation help you perform tasks ranging from system-level performance analysis to detailed electric motor desig...

## Ordinary and Partial Differential Equation Routines in C, C++, Fortran, Java, Maple, and MATLAB by H.J. Lee , W.E. Schiesser

This book provides a set of ODE/PDE integration routines in the six most widely used computer languages, enabling scientists and engineers...

## MATLAB: What Is Machine Learning?

Using MATLAB®, engineers and other domain experts have deployed thousands of applications for predictive maintenance, sensor analytics, fi...

## Battery Data Acquisition and Analysis Using MATLAB

Develop battery management systems with Simulink Lithium-ion battery packs are the predominant energy storage systems in aircraft, elec...

## Hardware and Software Co Design for Motor Control Applications using MATLAB

Electric motors are everywhere and we are finding new applications every day. The technology to control motors is also evolving to target...