How can I know the the size of an inline or anonymous vectorial expression?
이전 댓글 표시
I need to know if there is a way to know the length/size of a inline expression. In the example, the expression inside the inline is '[(t/2)*u2+u2*t; u2]', which has length 2, I need a command that returns that value for any vector inside the function.
F=inline('[(t/2)*u2+u2*t; u2]', 't', 'u2')
채택된 답변
추가 답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Function Creation에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!