Using RowFun as LookUp
Información
La pregunta está cerrada. Vuélvala a abrir para editarla o responderla.
Mostrar comentarios más antiguos
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.
Respuestas (0)
La pregunta está cerrada.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!