matlab says the inline function will be removed in future release how should i execute a string function like '2*x.^2+5'
이전 댓글 표시
function
댓글 수: 1
Stephen23
2017년 6월 20일
How about using anonymous functions, just like the documentation recommends?
채택된 답변
추가 답변 (1개)
Andrei Bobrov
2017년 6월 21일
syms y
f = matlabFunction(2*y^2+3);
카테고리
도움말 센터 및 File Exchange에서 Function Creation에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!