How to divide a matrix by a number

69 ビュー (過去 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 Center および File ExchangeLogical についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by