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

5 months ago | 0 answers | 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...

5 months ago | 1 answer | 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...

6 months ago | 1 answer | 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 ...

6 months ago | 0 answers | 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...

6 months ago | 1 answer | 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...

6 months ago | 1 answer | 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...

6 months ago | 0 answers | 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...

6 months ago | 1 answer | 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...

6 months ago | 1 answer | 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.

6 months ago | 1 answer | 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...

6 months ago | 0 answers | 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...

6 months ago | 1 answer | 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...

6 months ago | 0 answers | 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...

6 months ago | 1 answer | 0

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

6 months ago | 1 answer | 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...

6 months ago | 1 answer | 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?

6 months ago | 1 answer | 0

Question

How to hide the value in heatmap?

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

6 months ago | 1 answer | 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...

6 months ago | 2 answers | 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...

6 months ago | 1 answer | 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...

6 months ago | 1 answer | 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....

6 months ago | 0 answers | 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?

6 months ago | 1 answer | 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...

7 months ago | 1 answer | 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...

7 months ago | 2 answers | 0

Question

Export ROC curve in matlab classifcation learner app

Why it is not possible to save the ROC or confusion matrix from matlab classification app?

7 months ago | 1 answer | 0

Question

Is it possible to save matlab classifier workspace?

I need to save matlab classifier workspace so that later I can do some processes without the need to run the models from the scr...

7 months ago | 1 answer | 0

Question

Where is Naive Bayes in classification learner?

According to https://www.mathworks.com/help/stats/train-classification-models-in-classification-learner-app.html Naive Bayes cla...

7 months ago | 1 answer | 0

Question

Combine two tables with their corresponding rows

I have two tables and want to combine them with their corresponding first column. So that "ss" and "dd" will be in a new table w...

7 months ago | 1 answer | 0

Question

How to make subplot accept the positions like matrix?

Assume there is 3*3 subplot, subplot(3,3,p) which p gives the location like 1,2,... from left to right and so on. How can I set ...

7 months ago | 1 answer | 0