Effacer les filtres
Effacer les filtres

why i get error?

2 vues (au cours des 30 derniers jours)
razzz
razzz le 31 Déc 2013
Modifié(e) : Wayne King le 31 Déc 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))

Réponse acceptée

Wayne King
Wayne King le 31 Déc 2013
Modifié(e) : Wayne King le 31 Déc 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));

Plus de réponses (0)

Catégories

En savoir plus sur Matrices and Arrays dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by