How to divide a matrix by a number

28 Ansichten (letzte 30 Tage)
ly
ly am 22 Jan. 2016
Bearbeitet: Stephen23 am 22 Jan. 2016
Hi,
I have a function like:
r=[0.1:0.1:10];
E=1/(r^3);
How to get value E with correct command.
I try several but it is not correct.
  1 Kommentar
Stephen23
Stephen23 am 22 Jan. 2016
Bearbeitet: Stephen23 am 22 Jan. 2016
Torsten answered your question correctly. You can learn how by reading this:

Melden Sie sich an, um zu kommentieren.

Akzeptierte Antwort

Torsten
Torsten am 22 Jan. 2016
r=0.1:0.1:10;
E=1./(r.^3);
Best wishes
Torsten.

Weitere Antworten (0)

Kategorien

Mehr zu Linear Algebra finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by