2014-03-20 10:32:14 -0600 | received badge | ● Editor (source) |
2014-03-20 10:29:31 -0600 | answered a question | matlab gradient() to C++ Hey Carlos, I'm using your code but I want to compare the results with the ones I obtained using MATLAB. In my main function, I have: But I get an error when I run the code (when I try to print the values). What am I doing wrong? I know this is an easy question but I just started to develop code in c++ a few days ago. Thanks for your help. |