Azzera filtri
Azzera filtri

why i get error?

2 visualizzazioni (ultimi 30 giorni)
razzz
razzz il 31 Dic 2013
Modificato: Wayne King il 31 Dic 2013
i=i
MO=1;
fi=-pi:pi/100:pi;
y=(MO*(exp(fi*i))*(2*exp(fi*i)+1))/(EI*(8*exp(fi*i)+2*exp(2*fi*i)+2))
---
i got:
??? Error using ==> mtimes Inner matrix dimensions must agree.
Error in ==> rrrr at 10 y=(MO*(exp(fi*i))*(2*exp(fi*i)+1))/(EI*(8*exp(fi*i)+2*exp(2*fi*i)+2))

Risposta accettata

Wayne King
Wayne King il 31 Dic 2013
Modificato: Wayne King il 31 Dic 2013
It would help if you told us what EI is. I just made it equal to 1 here. Is this what you are looking for?
And why do i=i????
MO=1;
fi=-pi:pi/100:pi;
EI = 1;
y=(MO*(exp(fi*1i)).*(2*exp(fi*1i)+1))./(EI*(8*exp(fi*1i)+2*exp(2*fi*1i)+2));

Più risposte (0)

Categorie

Scopri di più su Matrices and Arrays in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by