Question

Generating the confusion matrix of average value

I want to make the confustion matrix of the average value. According to here, "C = confusionmat(group,grouphat) returns the conf...

environ 4 ans il y a | 1 réponse | 0

Question

Operate on all the columns of a matrix

I have a 100*3 matrix and want to normalize each column. Sth like this: for i=1:3 norm=normalize(mat(:,i)) end Is there ...

environ 4 ans il y a | 1 réponse | 0

Question

How to make plot colors transparent?

I need to make the color of this plot transparent as I am going to add some data points to it and I want the data points to be v...

environ 4 ans il y a | 1 réponse | 1

Question

3d scatter plot for a grouping data

I am searching for a 3D version of gscatter. I know it was asked a while ago and apparently there was no function available at t...

environ 4 ans il y a | 1 réponse | 0

Question

Is it possible to save an object to a structure field?

I am interested to put an object into a structure field like: struct.field=object; is it possible?

environ 4 ans il y a | 1 réponse | 0

Question

Does using rng guarantee having exactly the same result in each simulation?

I am using rng to be able to reproduce data in each simulation. But I noticed there is a slightly difference for the result in e...

environ 4 ans il y a | 1 réponse | 0

Question

What statistical test is available in matlab for unbalanced samples other than ttest?

I have two data sets that have different sizes and need to do statistical test. ttest can handle unbalanced ttest but because of...

environ 4 ans il y a | 1 réponse | 0

Question

There is no InnerPosition property on the matlab.graphics.layout.TiledChartLayout class.

Any idea how to solve this error? t = tiledlayout(2,2,'InnerPosition',[0.1300 0.1100 0.7750 0.8150]); here is the error: Erro...

environ 4 ans il y a | 1 réponse | 0

Question

Automated multiple image arrangement using matlab

I need to arrange many images to make slides out of them. They are save with apporpriate names. For example I need to say place ...

environ 4 ans il y a | 1 réponse | 0

Question

imagesc vs heatmap: which one has more flexibility?

I am currently using heatmap but I found it does not have enough functionality like I can not change the colorbor size and style...

environ 4 ans il y a | 1 réponse | 0

Question

write a structure into the excel file not writing the structure contents

I use struct2table(strucutre name,'AsArray',1) to convert the strctrue to the table and then using writetable to write it on...

environ 4 ans il y a | 1 réponse | 0

Question

How to represent p-value on a heatmap?

I am plotting heatmap that each indivdual elemetn of it hasa p-value. I am interested to add the p-valeu of each individual elem...

environ 4 ans il y a | 1 réponse | 0

Question

How to explore off diagonal elements in matrices without avoiding the for loop?

I need to search if the value of off diagonal elements of many matrices are larger than a specific number. Was wondering if I ca...

environ 4 ans il y a | 2 réponses | 0

Question

How to remove color bar in the matlab heatmap and add one to the whole subplot?

I am making a subplot that has 4 heatmaps. I want to remove individual color bar and add one to the right end of the subplot. I...

environ 4 ans il y a | 1 réponse | 0

Question

Is is possible to generate similar bubble plot using matlab?

Here is the plot: I am intersted in generating similar plot. The axes are categorical.

environ 4 ans il y a | 1 réponse | 0

Question

Can I set an rng to classificationlearner app so the cross validation is done based on a specific random number generator to make the result reproducible?

I need to reproduce the data using classificationlearner app. I was wondering if there is a way to set a rng to k-fold cross val...

environ 4 ans il y a | 1 réponse | 0

Question

How measure sensitivity and specificity when using kfold cross validation?

I need to measure the sensitivity and specificity on the observations not used fro training in kfold cross validation like kfold...

environ 4 ans il y a | 1 réponse | 0

Question

Is it possible to generate the code of a plot like confusion matrix or ROC curve in classification learner app?

Classificatio learnere app is capable of generating the code of classification but my question is about the plots like confusion...

environ 4 ans il y a | 1 réponse | 0

Question

What "Kernel Scale" in svm really is?

I checked several places in matlab tutorial but did not find explicit definition of "kernel scale". According to question like t...

environ 4 ans il y a | 1 réponse | 1

Question

Assign mean and max value to a heatmap color bar

In order to be have consistant colorbar for all plots, how can I set a min and max to the heatmap color bar? I want to customize...

environ 4 ans il y a | 1 réponse | 0

Question

How to set the matlab heatmap properties to all heatmaps without repetition?

h = heatmap(folder_name_cells,folder_name_cells,Mat_Linear,'ColorScaling','log','MissingDataColor','1.00,1.00,1.00',... 'Gr...

environ 4 ans il y a | 1 réponse | 0

Question

How to assign the value to the min/max of a color map in heatmap?

I need zero to be yellow and 1 to be green but it is opposite in the heatmap now: Any idea to reverse this?

environ 4 ans il y a | 4 réponses | 0

Question

How to hide the value in heatmap?

I need to hide the value in the heatmap if it is zero. Any suggestion?

environ 4 ans il y a | 1 réponse | 0

Question

How to generate triangular heatmap using matlab?

I need to make a trinagular matrix like the image below: Any idea to generate using matlab? The data I have is a table shown...

environ 4 ans il y a | 2 réponses | 0

Question

The detail of heuristic procedure used by Matlab

It is stated here: "the software uses a heuristic procedure to select the scale value. The heuristic procedure uses subsampling...

environ 4 ans il y a | 1 réponse | 0

Question

Why character or string array cannot be constructed like numerical array?

For eample: a=[]; a(1:3)=1 but you cannot make string of character the same way: a=[]; a(1:3)="er" it returns: a = Na...

environ 4 ans il y a | 1 réponse | 0

Question

bagOfFeatures histogram yaxis is decimal

According to here, bagOfFeatures make he histogram after encoding like this: The word count on th yaxis are integer numbers....

environ 4 ans il y a | 1 réponse | 0

Question

Any idea to make scatter plot more clear to read?

there are multiple points that are hidden under the red and orange points. Any idea to make this plot more understandable?

environ 4 ans il y a | 1 réponse | 0

Question

What type of data is this isCategoricalPrd = [false, false, false, false, false];? the members of this matrix are not character nor string.

Here is the matrix isCategoricalPrd = [false, false, false, false, false]; I want to know the type of matrix members and how t...

plus de 4 ans il y a | 1 réponse | 0

Question

What factors I need to consider when transferring to new version of Maltab?

I am currently using 2018b and want to transfer to latest version of 2020. As I did huge coding on the 2018b I am concerned this...

plus de 4 ans il y a | 2 réponses | 0