Select to view content in your preferred language

How to put a exponent in a Con raster calculation?

4837
1
12-20-2014 05:56 PM
CláudiaCaetano
New Contributor

Hi,

I want to use the Con (one of the conditional tools of the raster calculator) but I don't know how to do it with one exponent.
My conditional equation is something like this:

Con("slope_50" < 1, (("slope_50" / 22.13) ^ 0.2), Con(("slope_50" < 3) & ("slope_50" > 1), (("slope_50" / 22.13) ^ 0.3), Con(("slope_50" < 5) & ("slope_50" > 3), (("slope_50" / 22.13) ^ 0.4)), ("slope_50" / 22.13) ^ 0.5))))

And the part of something ^0.2 (or 0.3 or 0.4 or 0.5) I know that it's wrong because the ^ it's not the way to express a exponent.

Do you have any ideas?

Thanks,

Cláudia Caetano

0 Kudos
1 Reply
DanPatterson_Retired
MVP Emeritus

Did you check this page out on working with map algebra operators ** I think is what you are after

0 Kudos