Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

issue regarding understanding of code #1

Open
shikhagoel003 opened this issue Apr 21, 2017 · 0 comments
Open

issue regarding understanding of code #1

shikhagoel003 opened this issue Apr 21, 2017 · 0 comments

Comments

@shikhagoel003
Copy link

hello sir,
in your code sample.m i could not particulartly understand the use of lines below and the graphs i am obtaining. i am making the code run for 3 classes. my data is 90X9 matrix where first column is label. please explain what are the changes in code i need to make to make it run for my database.
% Make the run index for each observation
k=1;
for i=1:90
if i<= 50
run(i)=i;
elseif k<=50
run(i)=k;
k=k+1;
else
k=1;
run(i)=k;
end
end

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant