matlab2cpp icon indicating copy to clipboard operation
matlab2cpp copied to clipboard

problem with complex expressions

Open ir1979 opened this issue 8 years ago • 1 comments

Please check the following expression in MATLAB. the second argument of cumsum is not translated correctly and tril is not translated to trimatl.

si = tril(reshape(cumsum(reshape(C(2:end,:)*DT,n,n-1),2),n-1,n));

C: nxm DT: mxn

Thanks

ir1979 avatar Mar 19 '17 07:03 ir1979

I have done some updates and I believe those fix the second argument, and tril is now translated to trimatl

geirpa avatar Mar 22 '17 14:03 geirpa