How to divide a matrix by a number

96 visualizaciones (últimos 30 días)
ly
ly el 22 de En. de 2016
Editada: Stephen23 el 22 de En. de 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 comentario
Stephen23
Stephen23 el 22 de En. de 2016
Editada: Stephen23 el 22 de En. de 2016
Torsten answered your question correctly. You can learn how by reading this:

Iniciar sesión para comentar.

Respuesta aceptada

Torsten
Torsten el 22 de En. de 2016
r=0.1:0.1:10;
E=1./(r.^3);
Best wishes
Torsten.

Más respuestas (0)

Categorías

Más información sobre Logical en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by