matlab中dividevec函数,求助dividevec
function [trainV,valV,testV,trainInd,valInd,testInd] = dividerand(allV,trainRatio,valRatio,testRatio)%DIVIDERAND Divide vectors into three sets using random indices.%% Syntax%% [trainV,valV,testV,tr...