Info

La pregunta está cerrada. Vuélvala a abrir para editarla o responderla.

using the same varible twice in a calculation

1 visualización (últimos 30 días)
kevin
kevin el 30 de Nov. de 2011
Cerrada: MATLAB Answer Bot el 20 de Ag. de 2021
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

Respuestas (1)

Wayne King
Wayne King el 30 de Nov. de 2011
a = 1:10;
c =cos(a)./tan(a+20)

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by