Jump to content

plinius

Members
  • Posts

    1
  • Joined

  • Last visited

    Never

Posts posted by plinius

  1. Hi, I made this matlabcode .

    I want the code to work without the use of "eval" .

    Is this possible, and if so, how??

    Thanks.

    function [e,h,ploth] = rls(bestand, resultaat, kanalen, gewenst)ticorde = length(kanalen);load(bestand, 'npartities')%initialisatiedelta = 0.01;lambda = 0.9999;Xxxinv = 1/delta*eye(orde);Xxxinv_adj = Xxxinv/lambda;h = zeros(orde,1);for i = 1:npartities    if i < 10        eval(['load ',bestand, '.mat string0', num2str(i)])        eval(['stringx = string0', num2str(i),'(kanalen,:);'])        eval(['stringd = string0', num2str(i),'(gewenst,:);'])        eval(['clear string0', num2str(i)])        %disp(stringx)

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.