Beantwortet
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...

mehr als 5 Jahre vor | 0

Beantwortet
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

mehr als 5 Jahre vor | 0

Beantwortet
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 ...

mehr als 5 Jahre vor | 0

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

mehr als 5 Jahre vor | 0

Beantwortet
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

mehr als 5 Jahre vor | 0

Gelöst


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...

mehr als 5 Jahre vor

Gelöst


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

mehr als 5 Jahre vor

Gelöst


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 ...

mehr als 5 Jahre vor

Gelöst


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

mehr als 5 Jahre vor

Gelöst


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...

mehr als 5 Jahre vor

Gelöst


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 ...

mehr als 5 Jahre vor

Gelöst


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:...

mehr als 5 Jahre vor

Gelöst


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...

mehr als 5 Jahre vor

Beantwortet
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...

mehr als 5 Jahre vor | 0

Beantwortet
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...

mehr als 5 Jahre vor | 0

| akzeptiert

Beantwortet
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...

mehr als 5 Jahre vor | 0

Beantwortet
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...

mehr als 5 Jahre vor | 0

Beantwortet
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...

mehr als 5 Jahre vor | 0

Beantwortet
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...

mehr als 5 Jahre vor | 0

| akzeptiert

Beantwortet
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...

mehr als 5 Jahre vor | 0

| akzeptiert

Beantwortet
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...

mehr als 5 Jahre vor | 0

Beantwortet
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...

mehr als 5 Jahre vor | 0

Beantwortet
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...

mehr als 5 Jahre vor | 0

Beantwortet
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 ...

mehr als 5 Jahre vor | 1

| akzeptiert

Frage


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(...

mehr als 5 Jahre vor | 0 Antworten | 0

0

Antworten