필터 지우기
필터 지우기

Can anybody explain such a function handle in Matlab?

조회 수: 1 (최근 30일)
mike cool
mike cool 2015년 10월 25일
편집: Stephen23 2023년 8월 22일
@(z)func_example(x,y,z)
Can anybody kindly explain the above function handle in Matlab? I am only familiar with
@func_example
which does not have the variables in the brackets. Thanks in advance!

채택된 답변

Stephen23
Stephen23 2015년 10월 25일
편집: Stephen23 2023년 8월 22일
See:
which explains what you have given in your question:
@(z) % defines an anonymous function,
func_example % which calls this function
(x,y,z) % with these arguments
Note that x and y must exist in the workspace where this anonymous function is created, while the z is passed as a variable to the anonymous function when it is called.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Multidimensional Arrays에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by