How to divide a matrix by a number

조회 수: 71 (최근 30일)
ly
ly 2016년 1월 22일
편집: Stephen23 2016년 1월 22일
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
Stephen23
Stephen23 2016년 1월 22일
편집: Stephen23 2016년 1월 22일
Torsten answered your question correctly. You can learn how by reading this:

댓글을 달려면 로그인하십시오.

채택된 답변

Torsten
Torsten 2016년 1월 22일
r=0.1:0.1:10;
E=1./(r.^3);
Best wishes
Torsten.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Logical에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by