Undefined function 'pmveqf' for input arguments of type 'double'. Error in fminsearch (line 191) fv(:,1) = funfcn(x,varargin{:}); Error in vary (line 45) x=fminsear​ch('pmveqf​',[30 30]',[],pm);

1 回表示 (過去 30 日間)
Huai Ern
Huai Ern 2014 年 10 月 6 日
コメント済み: Walter Roberson 2022 年 10 月 30 日
Keep getting the error message above, code is as below.
function q=vary(in) insize=size(in); q=zeros(insize(1),2); if insize(2)==7 q=zeros(insize(1),1); for i=1:insize(1) pm=in(i,:); uu11=pm; pm(6)=pm(6)*0.155; if pm(6) <= 0.078, fclpmv=1+1.29*pm(6); else fclpmv=1.05+0.645*pm(6); end pm(8)=fclpmv; x=fminsearch('pmveqf',[30 30]',[],pm);
  2 件のコメント
Kevin Jose
Kevin Jose 2022 年 10 月 30 日
Hello, I have come across this same code and problem. Could you solve it?
Walter Roberson
Walter Roberson 2022 年 10 月 30 日
This appears to be some 1998 code set out in https://www.getty.edu/conservation/publications_resources/teaching/case/olita/climate/docs/thermal_comfort.pdf . Unfortunately it does not appear to give the source code for the needed function m

サインインしてコメントする。

回答 (1 件)

Julia
Julia 2014 年 10 月 6 日
Hi,
I am not familiar with the function, but I found another post with it. There it is called in this fashion:
x=fminsearch(@pmveqf,[30 30]',[],pm);

カテゴリ

Help Center および File ExchangeLogical についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by