newrb using existing dataset
Show older comments
i try using newrb to train rbf using the dataset
the 1st to 6th column is the signal strength
the 7th column is the x-coordinate and 8th column is the y-coordinate
what i want to achieve is to predict the coordinate from the signal strength
this is my attempt at coding
clc
clear all
close all
%% input data
data = load('Data_positioning.csv');
p = data(:, 1:6);
t = data(:, 7:8);
%% create radial basis function Neural Network
net=newrb(p,t,0.1,1,100,10);
view(net)
results=sim(net,p);
%% Plots
scatter(t,p);
hold on;
plot(p,results,'LineWidth',2,'MarkerSize',10);
R=regression(t,results);
Answers (0)
Categories
Find more on Fuzzy Logic 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!