Community Profile

photo

Pamudu Ranasinghe


Last seen: alrededor de 1 año hace Con actividad desde 2020

Estadísticas

All
  • 3 Month Streak
  • Revival Level 1
  • Knowledgeable Level 1
  • First Answer
  • Solver

Ver insignias

Content Feed

Ver por

Respondida
For loop for SVM variable files
I think you can use "datastore" function in matlab https://in.mathworks.com/help/matlab/ref/datastore.html You dont need to l...

más de 1 año hace | 1

Respondida
Finding Optimal Number Of Clusters for Kmeans
Refer "evalclusters" function https://in.mathworks.com/help/stats/evalclusters.html#d123e303261 eva = evalclusters(X,'kmeans',...

casi 2 años hace | 0

Respondida
How to determine number of clusters automatically for each image to be used in K Means Algorithm
Refer "evalclusters" function https://in.mathworks.com/help/stats/evalclusters.html#d123e303261

casi 2 años hace | 0

Respondida
change color scheme of a scatter plot
use gscatter it is easy https://in.mathworks.com/help/stats/gscatter.html

casi 2 años hace | 1

Respondida
Reshape table by rows, then merge horizontally and new var names
The easiest way is to first convert the table into a matrix form and then reshape it by using the "reshape" function in Matlab.T...

casi 2 años hace | 0

Respondida
Saving multiple figures to a single PDF file
I think the easiest way is to write all your codes in MATLAB Live script. Then you have two ways to do that Option 1 - Save Li...

más de 2 años hace | 0

Respondida
How to transfer this into matlab code
img=imread('img_test.jpg'); RGB_Sum=sum(img,3); %%%---> Method 1 [R,G,B]=imsplit(img); %%%Method 2 %R=img(:,:,1); ...

más de 2 años hace | 0

| aceptada

Respondida
Is it possible to add an 'other' bar to a PARETO plot in MATLAB 7.8 (R2009a)?
function MyParetoDig(X,data) %Pamudu Ranasinghe %2021/06/06 %This Function takes two Parmaters "X" and "data" ...

casi 3 años hace | 0

Resuelto


Select every other element of a vector
Write a function which returns every other element of the vector passed in. That is, it returns the all odd-numbered elements, s...

alrededor de 3 años hace

Resuelto


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

alrededor de 3 años hace

Resuelto


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

alrededor de 3 años hace

Resuelto


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

más de 3 años hace

Resuelto


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

más de 3 años hace