Community Profile

# cgo

Last seen: 2 years ago Active since 2014

All

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

2 years ago | 1 answer | 0

### 1

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

2 years ago | 0 answers | 0

### 0

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

2 years ago | 1 answer | 0

### 1

Question

creating a rainbow colour plot/trajectory

2 years ago | 2 answers | 0

### 2

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

2 years ago | 1 answer | 0

### 1

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

2 years ago | 0 answers | 0

### 0

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

2 years ago | 0 answers | 0

### 0

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

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

2 years ago | 0 answers | 0

### 0

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

3 years ago | 0 answers | 0

### 0

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

3 years ago | 1 answer | 0

### 1

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

3 years ago | 1 answer | 0

### 1

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

3 years ago | 1 answer | 0

### 1

Question

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

3 years ago | 0 answers | 0

### 0

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

3 years ago | 1 answer | 0

### 1

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

3 years ago | 1 answer | 0

### 1

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

3 years ago | 1 answer | 0

### 1

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

3 years ago | 1 answer | 0

### 1

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

4 years ago | 1 answer | 0

### 1

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

4 years ago | 1 answer | 0

### 1

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

4 years ago | 1 answer | 0

### 1

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

4 years ago | 1 answer | 0

### 1

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

4 years ago | 1 answer | 0

### 1

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

4 years ago | 2 answers | 0

### 2

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

4 years ago | 1 answer | 0

### 1

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

4 years ago | 1 answer | 0

### 1

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

4 years ago | 1 answer | 0

### 1

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

4 years ago | 1 answer | 0

### 1

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

4 years ago | 1 answer | 0