# MATLAB: How to get the general answer for complex trigonometric and hyperbolic functions

complexfunctionsintegerstrigonometric functions

Hello! OK so I want to be able to get the general answer for complex trigonometric and hyperbolic functions for example: cosh(z)=0 but when i type "solve(cosh(z)==0,z)" it gives me "ans =(pi*i)/2" but i would for it to give me the general answer z = i pi n-(i pi)/2, n=(1,2,3….)

evalin(symengine,'solve(cosh(z)=0,z)')