Linearization of Nonlinear Systems

Version 1.0.0 (62.2 KB) by Rishi
Linearization simplifies complex nonlinear systems by approximating them with linear models around a specific operating point. This allows e
4 Downloads
Updated 7 Nov 2025

View License

%% Performed By Rushikesh.Bhavsar Roll no 08
%% Linearization of Nonlinear Systems
% Define time vector
t = 0:0.01:10;
% Input waveform: sinusoidal signal
u = sin(t);
% Nonlinear system: y = u^2 + sin(u)
y_nonlinear = u.^2 + sin(u);
% Linearization around u = 0 (Taylor expansion)
% dy/du = 2u + cos(u) → at u = 0: dy/du = 0 + 1 = 1
% So linearized system: y ≈ u
y_linear = u;
% Plotting the waveforms
figure;
plot(t, u, 'b', 'LineWidth', 1.5); hold on;
plot(t, y_nonlinear, 'r--', 'LineWidth', 1.5);
plot(t, y_linear, 'g:', 'LineWidth', 1.5);
xlabel('Time (s)');
ylabel('Amplitude');
title('Waveform Comparison: Input, Nonlinear Output, Linearized Output');
legend('Input u(t)', 'Nonlinear Output y(t)', 'Linearized Output y_{lin}(t)');
grid on;

Cite As

Rishi (2025). Linearization of Nonlinear Systems (https://nl.mathworks.com/matlabcentral/fileexchange/182504-linearization-of-nonlinear-systems), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2025b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Tags Add Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
1.0.0