필터 지우기
필터 지우기

how to get the expression for a function handles

조회 수: 2 (최근 30일)
xueqi
xueqi 2013년 7월 30일
Dear fellows,
I have a function with lot of inputs
if true
% function [ eu ] = eucara( p,r,dd,edw,c)
end
Now I define an function handle like this
if true
% p=[1/3,1/3,1/3]
dd= 0.1000 -0.5000 0.6000;
-0.6000 0.2000 0.5000
r=0.03;
edw=100;
f=@(x,y) eucara( p,r,dd,edw,[x;y])
end
My question is how am I able to see the actual expression for f? I would like to see the explicit(with p,dd,r,edw shown as the values assigned) expression but not the symbolic one.
Cheers, Xueqi

채택된 답변

xueqi
xueqi 2013년 7월 30일
편집: xueqi 2013년 7월 30일
if true
% syms x y
f= eucara( p,r,dd,edw,[x;y])
end

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Number Theory에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by