Community Profile

photo

cgo


Last seen: mer än 3 år ago Active since 2014

Statistics

All
  • Thankful Level 4
  • Solver

View badges

Content Feed

View by

Question


increasing the fontsize of the y-label tickmarks on a dendrogram/tree
I created a dendrogram where the x-axis is the distance/dissimilarity between clusters and the y-axis are the objects. I want to...

nästan 4 år ago | 1 answer | 0

1

answer

Question


customising dendrogram figure with colours
I want to customise a dendrogram output by putting colours into the branches. For example: rand(70, 10) where first 10 rows ...

nästan 4 år ago | 0 answers | 0

0

answers

Question


plotting an open circle (open interval) in plot
i am plotting a function f =@(x) x.^2 but i want to put open circles at x = 0 and x = 4 because they are undefined at those poin...

nästan 4 år ago | 1 answer | 0

1

answer

Question


creating a rainbow colour plot/trajectory
I was reading this: https://uk.mathworks.com/matlabcentral/answers/393810-multiple-colours-in-a-trajectory-plot to create a r...

nästan 4 år ago | 2 answers | 1

2

answers

Question


putting tick marks on a graph/trajectory
I have a set of coordinates that plots the trajectory of a moving body from point A to point B. Now I want to put some 'time inf...

nästan 4 år ago | 1 answer | 0

1

answer

Question


function to measure the correlation between nominal and continuous data
I am looking for a function that measures the correlation (Cramer's V, or something similar) of categorical + continuous data se...

nästan 4 år ago | 0 answers | 0

0

answers

Question


where to find a support vector machine tutorial
I am looking for a tutorial on implementing SVM from the ground up. I have seen in Mathworks some examples by using kernels. I w...

nästan 4 år ago | 0 answers | 0

0

answers

Solved


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

ungefär 4 år ago

Question


using lassoglm for logistic regression
I have 3 predictors that are numerical and 2 predictors that are categorical. The expected classes are simply yes or no, so I re...

ungefär 4 år ago | 0 answers | 0

0

answers

Question


adding error bars of a different length than the data set
I have a data set of length 200, which I have plotted. I want to add the error bars, but of a shorter length than than the data ...

ungefär 5 år ago | 0 answers | 0

0

answers

Question


there is something in the figure that I want to be deleted
Everytime I open a figure, I see this. The yellowish box with X: 4 and Y: 7.164. How do I delete this box so I can save this fig...

mer än 5 år ago | 1 answer | 0

1

answer

Question


leaving one out help
I want to make a loop for a vector s = [1:10], but for each round I want to leave one element. So for the first round, s = [1:...

mer än 5 år ago | 1 answer | 0

1

answer

Question


how to check the 'contribution' of each predictor in a linear regression
I have linear regression model, say with 5 predictors, . I wanted to know how we can perform tests regarding the 'contribution' ...

mer än 5 år ago | 1 answer | 0

1

answer

Question


question about RegressionPartitionedModel
I have a question about the RegressionPartitionedModel documentation. I understand this is an evaluation for error (cross-valida...

mer än 5 år ago | 0 answers | 0

0

answers

Question


getting the mean EXCEPT zero entries
I have a matrix, M = [zeros(10,10); 1 , 2 , 3 ,4 ,5,6,7,8,9,10]; I want to get the mean of each column, except the zero term...

mer än 5 år ago | 1 answer | 0

1

answer

Question


accessing data from cell arrays
I have cell A which is 1x2 in size. Each entry in the cell is a double with different sizes. Am I able to access the entries fro...

mer än 5 år ago | 1 answer | 0

1

answer

Question


fitting a linear model with constraints
I am trying to use fitlm, but by using nonnegative least squares. I am aware of lsqnonneg, but I am interested in looking at the...

mer än 5 år ago | 1 answer | 0

1

answer

Question


looking for nonnegative least squares solver
I am looking for a nonnegative least squares solver/toolbox. Anyone can point me to the right one? Thanks

mer än 5 år ago | 1 answer | 0

1

answer

Question


how to input multiple items given a prompt?
So far I only have worked with prompts giving one numerical response. (For example, input number: 10). That's it. Right now, I w...

mer än 5 år ago | 1 answer | 0

1

answer

Question


fitting a linear model without an intercept term
I wanted to use the fitlm (linear regression function) but without the intercept term in the output. I wonder if there is a way ...

mer än 5 år ago | 1 answer | 0

1

answer

Question


using different colours of points in a biplot
Hi, I have generated a biplot (used for PCA) and I wanted to use different colours for points according to my dataset. Right...

mer än 5 år ago | 1 answer | 0

1

answer

Question


question about the resulting dendrograms in hierarchical clustering
I have a question about the resulting dendrogram in hierarchical clustering. I have 64 items that need to clustered by hiera...

mer än 5 år ago | 1 answer | 0

1

answer

Question


question about determining the correct number of clusters (documentation)
I have a question about determining the correct number of clusters (in k-means clustering). In the documentation, there is a...

mer än 5 år ago | 1 answer | 0

1

answer

Question


reading excel files with texts in matlab
I have an excel file with fields that are texts that I want to read. X = xlsread('filename') reads the numbers, but does not...

mer än 5 år ago | 2 answers | 0

2

answers

Question


running k-means and getting different results run after run?
I am running k-means clustering algorithm on a data, and I don't understand why I am getting different silhouette plots each tim...

mer än 5 år ago | 1 answer | 0

1

answer

Question


question about k-means clustering metric choice
In this documentation of K-means clustering: <https://www.mathworks.com/help/stats/k-means-clustering.html> I would like to a...

mer än 5 år ago | 1 answer | 0

1

answer

Question


accessing data from a struct
I have R, which is a 1x1 struct, which contains a matrix named X. I want to access X, how do I this? I want to load X into the w...

mer än 5 år ago | 2 answers | 0

2

answers

Question


retrieving data from a plot saved as fig
I was not able to save the data sets used to plot a graph, but I was able to save the plot as .fig. Am I still able to get t...

mer än 5 år ago | 1 answer | 0

1

answer

Question


question on the lasso example in matlab documentation
In the Lasso documentation page here: https://www.mathworks.com/help/stats/lasso.html Construct the default lasso fit. B...

mer än 5 år ago | 1 answer | 0

1

answer

Question


performing a least squares with regularisation in matlab
I have data sets X (2n by 8) and Y(2n by 1). I want to find the coefficients a so that Y = Xa. So we can perform a = X\Y (as a l...

mer än 5 år ago | 2 answers | 1

2

answers

Load more