Using RowFun as LookUp
정보
이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.
이전 댓글 표시
Hello everybody,
i worked today the first time with the functions "RowFun" and it works really fine and it is faster then with a For-Loop.
daten.FINART = rowfun(@convertFinArt,params)
My problem is that i have to load a table for my lookUp Function.
function FinArt = convertFinArt(TAFIC, TART)
load('TAFIC_Tab.mat')
FinArt = TAFIC_Tab.FinArt(TAFIC_Tab.TAFIC==TAFIC & (TAFIC_Tab.TarifArt == TART|TAFIC_Tab.TarifArt ==0));
end
Is there a possibility to load the Table once and to transfer this table with params?
params = table(daten.TAVE,daten.TAVE_NR,'VariableNames',{'TAVE','TAVE_NR'})
The problem and my question is how, cause the params and this table doesn't fit.
Thank you for your help.
댓글 수: 0
답변 (0개)
이 질문은 마감되었습니다.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!