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

3 visualizaciones (últimos 30 días)
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

Respuestas (1)

madhan ravi
madhan ravi el 27 de Jun. de 2020
str2double(location_filename(:,2))

Categorías

Más información sobre Modeling en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by