new version of "newtr" function

7 views (last 30 days)
Andrea Vang
Andrea Vang on 2 Oct 2018
Commented: Walter Roberson on 8 Jun 2022
Hi everybody I got a code (SRGTSToolbox) that has been written with old version of MATLAB. This is a part of that code:
% CALCULATE ACTUAL ERROR
w1 = p(:,used)';
a1 = radbas(dist(w1,p)*b);
[w2,b2] = solvelin2(a1,t);
a2 = w2*a1 + b2*ones(1,q);
sse = sumsqr(t-a2);
% Start
tr = newtr(mn,'perf');
tr.perf(1) = sumsqr(t);
tr.perf(2) = sse;
As can be seen there is a function called "newtr". What's the updated version of this function in MATLAB 2015? This is a part of radial basis neural network code. Thanks
  10 Comments
浩 陈
浩 陈 on 8 Jun 2022
Hello, when I set up the program like you, I will find that Cliptr function is not defined, how to solve this problem
Walter Roberson
Walter Roberson on 8 Jun 2022
You can find the source code for cliptr as part of https://svn-mede.ewi.tudelft.nl/trac/MM-ICT/PRTOOLS/browser/pr_newrb.m

Sign in to comment.

Answers (0)

Categories

Find more on Deep Learning Toolbox in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!