How to divide a matrix by a number

69 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)

Community Treasure Hunt

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

Start Hunting!

Translated by