simulador_bateria
Version 1.0.0 (1,28 KB) von
Antonio
Es un simulador de un cargador de batería utilizando una función de transformación.
% Parámetros del sistema
b0 = 0.6667;
a1 = 0.3333;
N = 50; % Número de muestras
u = ones(1, N); % Entrada escalón
y = zeros(1, N); % Inicialización de la salida
% Simulación del sistema discreto
for k = 2:N
y(k) = b0 * u(k) + a1 * y(k-1);
end
% Gráfica de la respuesta
stem(0:N-1, y, 'filled')
xlabel('Muestras k')
ylabel('Voltaje de salida y[k]')
title('Respuesta discreta del sistema de carga de batería')
grid on
Zitieren als
Antonio (2025). simulador_bateria (https://de.mathworks.com/matlabcentral/fileexchange/182090-simulador_bateria), MATLAB Central File Exchange. Abgerufen.
Kompatibilität der MATLAB-Version
Erstellt mit
R2025b
Kompatibel mit allen Versionen
Plattform-Kompatibilität
Windows macOS LinuxTags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Live Editor erkunden
Erstellen Sie Skripte mit Code, Ausgabe und formatiertem Text in einem einzigen ausführbaren Dokument.
| Version | Veröffentlicht | Versionshinweise | |
|---|---|---|---|
| 1.0.0 |
