Community Profile

photo

hello_world


Last seen: 2년 초과 전 2014년부터 활동

Followers: 0   Following: 0

연락

통계

  • First Review
  • Thankful Level 4
  • First Answer

배지 보기

Feeds

보기 기준

질문


How to put a legend automatically in PCA 3D Scatter Plot?
Here is my solution which successfully creates a 3D scatter plot, but I am unable to add legend to it. I will appreciate any he...

2년 초과 전 | 답변 수: 1 | 0

1

답변

질문


How to combine/aggregate multiple Gram matrices to yield a one matrix by doing some desired matrix manipulations?
Let, X = [1, 2, 3, 4; 5, 6, 7, 8; 9, 10, 11, 12; 13, 14, 15, 16; 17, 18, 19, 20;...

5년 초과 전 | 답변 수: 0 | 0

0

답변

질문


How to combine binary classifier's results to output multi-class classification adopting File Exchange example in Libsvm's precomputed svmtrain?
In File Exchange example: <https://www.mathworks.com/matlabcentral/fileexchange/39352-multi-class-svm> under %build model headi...

5년 초과 전 | 답변 수: 0 | 0

0

답변

질문


How to use if, else conditional loop on anonymous function handle?
For the following example, given at <https://www.mathworks.com/help/stats/evalclusters.html>: eva = evalclusters(meas, 'kme...

5년 초과 전 | 답변 수: 1 | 0

1

답변

질문


How to show class label of each data point in 3D scatter plot from clustering evaluation result?
How to show by plotting class label of each data point within each cluster obtained by any clustering? Here is an illustratio...

5년 초과 전 | 답변 수: 1 | 0

1

답변

질문


MATLAB's custom distance function example for two matrices.
How does _MATLAB_'s *@distfun* work for two matrices. Suppose: X1 = rand(5); X2 = rand(3); How to compute the KL-Dive...

5년 초과 전 | 답변 수: 1 | 0

1

답변

질문


LIBSVM: MATLAB function "trainsvm" deprecated and replaced by "fitcsvm"
As MATLAB ha depreciated "svmtrain" and replaced it by "fitcsvm", LIBSVM is giving error: % This is an example of using pre...

5년 초과 전 | 답변 수: 1 | 0

1

답변

질문


MATLAB giving error while trying to create a 3D scatter plot: Error using sparse (Index exceeds array bounds)
I was following the MathWorks example: <https://www.mathworks.com/help/stats/tsne.html#bvkcm24-1> which works fine for fisheriri...

거의 6년 전 | 답변 수: 1 | 0

1

답변

질문


How to save a function output to a variable with variable name changing dynamically?
I have two folders in two different paths. These two folders contain *.csv* data files. I want to load these *.csv* data files f...

거의 6년 전 | 답변 수: 1 | 0

1

답변

답변 있음
Help with scope issue in Matlab
Hello, Any progress on this code so far? If so, can you share the code?

거의 6년 전 | 0

질문


How to convert a .csv file of cell array type to double?
I have multiple *.csv* files of type *Cell*. I have attached 3 of these files for illustration and a *data.csv* file of type _do...

거의 6년 전 | 답변 수: 2 | 0

2

답변

질문


Plotting with peaksOutputFcn function in optimization probblem.
Hello Friends, <</matlabcentral/answers/uploaded_files/58699/surfacePlot.png>> I tried peaksOutputFcn.m file which calls p...

7년 초과 전 | 답변 수: 0 | 0

0

답변

질문


How to make output of a function available to script without function call?
Hello Friends, I have the following function in *myFun.m* file: function f1 = myFun1(X,Y) [f1,f2] = myFun2(X,Y); ...

7년 초과 전 | 답변 수: 2 | 0

2

답변

질문


How to insert a saved .png figure into a subplot which is being created in a for loop?
Hello Friends, I have the following code for k = 1:2 subplot(1,3,k) plot(randi(10,k)); end I want to insert...

7년 초과 전 | 답변 수: 2 | 0

2

답변

질문


Convert for loop to vector multiplication.
Hello Friends, I have the following: A = [1 2 3; 4 5 6; 7 8 9]; B = [10 11 12; 13 14 15];...

7년 초과 전 | 답변 수: 1 | 0

1

답변

질문


Manipulation of matrix addition and multiplication.
Hello Friends, I have the following: A = [1 2 3; 4 5 6; 7 8 9]; B = [10 11 12; 13 14 15]; [N1, D1] = size(A);...

7년 초과 전 | 답변 수: 1 | 0

1

답변

질문


Rewriting a vector addition and multiplication.
Hello Friends, I have the following: A = [1 2 3; 4 5 6; 7 8 9]; B = [10 11 12; 13 14 15]; [N1, D1] = size...

7년 초과 전 | 답변 수: 2 | 0

2

답변

질문


Distance and clustering.
In k-means clustering code which uses Euclidean distance. I want to replace Euclidean distance by Mahalanobis distance.

7년 초과 전 | 답변 수: 1 | 0

1

답변

질문


How to optimize k*x <= epsilon?
Hello Friends, I want to optimize, i.e., find the optimal value of *k* in the following problem: max k*x <= epsilon H...

7년 초과 전 | 답변 수: 1 | 0

1

답변

질문


How to edit MATLAB file kmeans.m?
Hello Friends, I want to edit kmeans.m but it does not allow me to make any changes. I tried *'fileattrib'* to make it writab...

7년 초과 전 | 답변 수: 1 | 0

1

답변

질문


fwrite to fread changes data completely!
Hello Friends, I have a Vector or some length, say, *1 x N* with real number entries. I want to save this vector by usin...

거의 8년 전 | 답변 수: 1 | 0

1

답변

질문


How to declare global variables in a script file which are accessible to a function file?
Hello Friends, I have a script file and a function file. My script file have a parameter which I want to be accessible to the...

거의 8년 전 | 답변 수: 1 | 0

1

답변

질문


How to declare multiple global variables?
Hello Friends, I have multiple variables in my script file, say, *var1, var2, var3*. I want to declare them global variable. ...

거의 8년 전 | 답변 수: 2 | 1

2

답변

질문


How to convert a matrix of cell to type double.
Hello Friends, I have a cell matrix *X* of size *NxD* as follows: X = [5.1000] [3.5000] [1.4000] [0.2000] 's...

거의 8년 전 | 답변 수: 1 | 0

1

답변

질문


How to extract labeled rows of a matrix?
Hello Friends, I have a matrix *X* of size *NxD*, where the *Dth* column is labeled. For example: X = [1, 2, 3, Sunday ...

거의 8년 전 | 답변 수: 3 | 0

3

답변

질문


How to compare each content of string which is of type double (matrix) in if loop recursively?
Hello Friends, I have the following code: P = [1 , 0, 2]; AB = [1, 2, 3]; CD = [4, 5, 6]; EF = [7, 8, 9]; ...

거의 8년 전 | 답변 수: 2 | 0

2

답변

질문


MATLAB cannot call or index into a temporary array in for loop
Hello Friends, Here is my code: M = {'a', 'b', 'c'}; for i = length(M) M(i) = M(i)(M(i)~=0); end In...

거의 8년 전 | 답변 수: 2 | 0

2

답변

질문


Indexing in for loop in order to remove non-zero and nan entries from vectors
Hello Friends, I have the following code: P = [1, 0, 3]; Q = [0, 4, 5]; % These AB, CD, EF are just for illu...

거의 8년 전 | 답변 수: 1 | 0

1

답변

질문


for loop indexing in temporary arrary problem in MATLAB.
Hello Friends, I have the following code: P = [1, 0, 3]; Q = [0, 4, 5]; AB = [P + Q]; % A vector CD = [P -...

거의 8년 전 | 답변 수: 2 | 0

2

답변

질문


How to get each pair of of row of a matrix to pass into a function?
Hello Friends, I have a matrix A of size N x M. I want to get all possible pair of rows, pass them into a function, and get t...

8년 초과 전 | 답변 수: 2 | 0

2

답변

더 보기