Undefined function 'cos' for input arguments of type 'char'. Error in solution (line 14)

What is wrong with line 14 of my script which is written as follows:
cos_AOI = cos(am(a))*cos(location_filename(:,2)) + sin(am(a))*sin(location_filename(:,2))
Gdirect = location_filename(:,4)*cos_AOI

Categorías

Más información sobre Entering Commands en Centro de ayuda y File Exchange.

Preguntada:

el 27 de Jun. de 2020

Respondida:

el 27 de Jun. de 2020

Community Treasure Hunt

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

Start Hunting!

Translated by