How to split data of a .mat file into trainH trainY testH testY as shown in picture
Ältere Kommentare anzeigen

8 Kommentare
Arif Hoq
am 9 Mär. 2022
please attach your data
uma
am 9 Mär. 2022
Arif Hoq
am 9 Mär. 2022
even we can't see the dimension.
trainH=1000 X 9
trainY= 1000 X ?? what ?
testH=473 X 9
testY=473 X 1
uma
am 9 Mär. 2022
Arif Hoq
am 9 Mär. 2022
it looks cmc.mat is a mat file with 4 variables(trainH,trainY,testH,testY)
if you open cmc.mat file you can get these 4 variables. why do you want to split these variables again from cmc.mat?
load('cmc.mat')
uma
am 9 Mär. 2022
Benjamin Thompson
am 9 Mär. 2022
You will need to post your dataset and more comments about what you want to do in order for the Community to offer a helpful answer.
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu Workspace Variables and MAT Files finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
