已回答
cvpartition grouped data for stratified hold-out classification?
i think you should split you data into training and testing maualy without even using cv partition because as u said, cvpartitio...

6 years 前 | 0

已回答
How to save variables generated inside 'for' loop which contains a function, to the workspace?
u can create an array, and use the function vertcat to store the variable A each time

6 years 前 | 0

已回答
How to resize jpg image through matlab to EXACT 300kb file size
u can use the function imresize like this link https://www.mathworks.com/help/images/ref/imresize.html but u need to know how ...

6 years 前 | 0

已回答
Import .txt file and sorting the data from the title
this link may help you https://www.mathworks.com/help/matlab/ref/fscanf.html

6 years 前 | 0

已回答
How to find a value from column 1 for given column 2 and 3 values.
u can use a code like this % A is you matrix for i=1:size(A,1) y(i)=A(i,1); %the volocity for each x , y end

6 years 前 | 0

已解决


Who Has the Most Change?
You have a matrix for which each row is a person and the columns represent the number of quarters, nickels, dimes, and pennies t...

6 years 前

已解决


Determine if input is odd
Given the input n, return true if n is odd or false if n is even.

6 years 前

已解决


Column Removal
Remove the nth column from input matrix A and return the resulting matrix in output B. So if A = [1 2 3; 4 5 6]; and ...

6 years 前

已解决


Add two numbers
Given a and b, return the sum a+b in c.

6 years 前

已解决


Triangle Numbers
Triangle numbers are the sums of successive integers. So 6 is a triangle number because 6 = 1 + 2 + 3 which can be displa...

6 years 前

已解决


Find the sum of all the numbers of the input vector
Find the sum of all the numbers of the input vector x. Examples: Input x = [1 2 3 5] Output y is 11 Input x ...

6 years 前

已解决


Times 2 - START HERE
Try out this test problem first. Given the variable x as your input, multiply it by two and put the result in y. Examples:...

6 years 前

已解决


Make the vector [1 2 3 4 5 6 7 8 9 10]
In MATLAB, you create a vector by enclosing the elements in square brackets like so: x = [1 2 3 4] Commas are optional, s...

6 years 前

已回答
What is the difference between [R,~]=size(M) and r0=Size(M,1)
the output of the first one is 2 numbers, each number representing the size of the dimension, and the output of the second one w...

6 years 前 | 0

已回答
Very large Matlab data file (q-table)
1- First question: I'm not sure, but I do think yes it's possible because 1 GB is not a big file compared to other files generat...

6 years 前 | 0

| 已接受

已回答
Dealing with large matrices in compressive sensing
u need to store your matrices in a .mat file, then call that .mat file using function called matfile, this function access and c...

6 years 前 | 0

已回答
Exporting figures from Live Script
i haven't tried it before but you may take a look on these links it may help: https://www.mathworks.com/help/matlab/matlab_pr...

6 years 前 | 0

已回答
how to upload multiple file (m file + dat file) to "matlab file exchange" ?
check if you have written a for loop that imports your data files, and the compiler is getting through the for loop. if it still...

6 years 前 | 0

已回答
How do I create a 4D array and filing it in the efficient way
u need to use the function cat like this: T1=%the first array T2=%the second array T3=%the third array T4=%the forth arr...

6 years 前 | 0

| 已接受

已回答
Newton-Raphson for fractional space-time equations
i suggest you take a look at this: https://www.mathworks.com/matlabcentral/answers/107508-solving-a-nonlinear-equation-using-new...

6 years 前 | 0

| 已接受

已回答
How do I save a .mat file and .py file automatically with a 'variable's' value as filename using MATLAB?
you can use: save('filename.mat','X'); %where filename is the name of file and X is the variable u need to save & same for t...

6 years 前 | 0

已回答
How do I load a file with a csv extension with numbers and text in matlab?
you can use the csvimport, like this: %read data example: Import columns as column vectors [X Y Z] = csvimport('vectors...

6 years 前 | 0

已回答
k-fold Cross Validation in Classification Learner
in k-fold cv, the the data is splited to k-1 for taining and 1 for testing.(e.g.: if you have 100 subject and you use 10-fold cv...

6 years 前 | 0

已回答
need to find difference of two cells from one column in Excel
i think it should be done this way: for i = 2:holder % the counter must get from 2 because temptime(i-1) would be error ...

6 years 前 | 1

| 已接受

提问


K-fold CV + SVM
i have this matlab codeand i want to perform k-fold cross validation + svm but i had an eror in line 30 In an assignment A(...

6 years 前 | 0 个回答 | 0

0

个回答