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