AnsweredAssumed Answered

Help with Con Statement

Question asked by geonetadmin on Dec 2, 2010
Latest reply on Dec 3, 2010 by whuber
Original User: Lynn_Carlson

I would like to assign values greater than 350 with the values of 1 and the values less than 350  from the equation below where x= original values and y=the output value


Thus, using Single Output Map Algebra the equation I am trying to write is:

con(x<350, 1-cos(x/350*RAD(90))*cos(x/350*RAD(90)),1)

where x is the original raster layer.

However this produces an error message. After playing around with it, I found that once I add the "divided by 350" the function no longer works. How do I solve this problem? What is the correct syntax?

ArcGIS 9.3.1 with Spatial Analyst

Thank you