Is there a function to sum matrix elements along an arbitrary direction?
4 次查看(过去 30 天)
显示 更早的评论
Hi
I would like to know if there is a Matlab build-in function that calculates the sum of elements along a direction that is not vertical or horizontal.
Something like output_matrix=sumdir(input_matrix, phi, length)
I couldn't find anything on the matlab help so I would appreciate your help.
Thanks a lot
Jan
0 个评论
采纳的回答
更多回答(0 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!