Error using * Inner matrix dimensions must agree.
Ältere Kommentare anzeigen
I do not know why this does not works.
clc
clear
t=0:0.5:50;
%Grafica de y(t)=x1(t) y x2(t)
x1= 1 - (exp(-(t/4)))*(cos(0.322748612*t))-((1/2)/sqrt(5/48))*(exp((-t/4)))*(sin(0.322748612*t));
x2= ((1/6)/sqrt(5/48))*exp((-t/4))*sin(sqrt(5/48));
subplot(2,1,1);
plot(t,x1)
grid on;
subplot(2,1,2);
plot(t,x2);
grid on
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu Creating and Concatenating Matrices finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!