Tag Archives: conjugate

MATLAB code for Numerical calculation of Jacobian matrix for a complex number

In this post, I share a MATLAB code for numerical calculation of Jacobian matrix for a complex number.


This code was developed by Sithan Kanna, based on my code. If you are just interested in Jacobian of a real number, please see this post.


I really thank to Sithan Kanna for sharing this nice code. If you have a question on this code please send an email to sithankanna a-t gmail d-o-t com



This is a sample result of the code

>> h=@(x)[x(1) ; conj(x(1))]; % nonlinear equation

conjug = 0;
real = 0;
x_test = [0.5*1j];
H = NumJacob(h, x_test, conjug, real)

H =



Have a nice day, and thank you for visiting my blog.




I am Youngmok Yun, and writing about robotics theories and my research.

My main site is http://youngmok.com, and Korean ver. is  http://yunyoungmok.tistory.com.