Using RowFun as LookUp
Informazioni
Questa domanda è chiusa. Riaprila per modificarla o per rispondere.
Mostra commenti meno recenti
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.
Risposte (0)
Questa domanda è chiusa.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!