i cannot seem to enter :y=(a.^(4x​)+a.^(-4x)​-22)/(x^3)

1 vue (au cours des 30 derniers jours)
Austin
Austin le 12 Oct 2013
Commenté : Austin le 12 Oct 2013
im trying to plot this graph
clf
hold on
axis ([-100 100 -100 100])
x=-1:0.02:70;
a=14
y=(a.^(4x)+a.^(-4x)-22)/(x^3)
however whenever i try to enter this command:
y=(a.^(4x)+a.^(-4x)-22)/(x^3)
i get this error:
??? Error using ==> mpower
Matrix must be square.
can i know what is wrong with my command?

Réponse acceptée

Azzi Abdelmalek
Azzi Abdelmalek le 12 Oct 2013
y=(a.^(4*x)+a.^(-4*x)-22)./(x.^3)
  1 commentaire
Austin
Austin le 12 Oct 2013
noted.thanks a lot!

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur MATLAB 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