How can I use Function handle with arrays?
조회 수: 1 (최근 30일)
이전 댓글 표시
Raja Vardhan Reddy Kothakapu
2019년 5월 14일
댓글: Raja Vardhan Reddy Kothakapu
2019년 5월 14일
I'm trying to use function handle with arrays. My objective is to create a function which picks a particular element of one dimensional row matrix. It need to output the particular element when I pass matrix and index as arguments. I know there are other ways to do this, but I'm very much interested to see whether this task can be done by function handle or not
Thanks
syms I t
G = matlabFunction(I(t))
A = [1 2 3];
G(A,1)
댓글 수: 0
채택된 답변
추가 답변 (0개)
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!