Info

この質問は閉じられています。 編集または回答するには再度開いてください。

using the same varible twice in a calculation

1 回表示 (過去 30 日間)
kevin
kevin 2011 年 11 月 30 日
閉鎖済み: MATLAB Answer Bot 2021 年 8 月 20 日
let say a is 1 to 10
c=cos(a)/tan(a+20)
do u need to day anything to make sure both a is the same? how do u write the code

回答 (1 件)

Wayne King
Wayne King 2011 年 11 月 30 日
a = 1:10;
c =cos(a)./tan(a+20)

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by