Undefined function 'cos' for input arguments of type 'char'. Error in solution (line 14)
Show older comments
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
Answers (1)
madhan ravi
on 27 Jun 2020
str2double(location_filename(:,2))
Categories
Find more on Entering Commands in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!