I have a problem with doing k-fold method in matlab. This valuation data set is the problem. I have 6 different (1 of them will not be used which is in the first column.) variables. I needed to be doing a k-fold method and in my data set I have 414 instance so ı needed to do 6-fold. I searched matlab codes and I didnt understand how I could do that. Can somebody help me about it?