How to make user-defined type pass as numeric?
이전 댓글 표시
Suppose I have a defined type that behaves like a number. I would like it to pass the test:
validateattributes(x, {'numeric'}, {})
It's not enough, apparently, to overload the function isnumeric.m. What else needs to be done?
Thanks, n
채택된 답변
추가 답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Phased Array System Toolbox에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!