Witam jestem początkującym programistą. Mam pytanie odnośnie matlaba. Mianowicie chodzi tu o wymnożenie macierzy. Wyrzuca mi błąd "Error using *
Inner matrix dimensions must agree.". Kombinowałem już chyba na wszystkie sposoby, żaden nie zadziałał. Poniżej wrzucam
>> t=0:2*pi
t =
0 1 2 3 4 5 6
>> x=t.*(cos(2*pi*t))
x =
0 1 2 3 4 5 6
>> t^2.*(sin(2*pi*t))
Error using ^
One argument must be a square matrix and the other must be a scalar. Use POWER (.^) for
elementwise power.