Question

Can matlab save a structure to an excel file so that each individual field is saved to one excel sheet?

Lets assume I have structure "struct" with fields: A, B, C and each field is a matlab table. I want to save this structure in on...

5 dagen ago | 1 answer | 0

Question

Is SVM sensitive to unbalanced observations? The observations in one class is 3-4 times of the observation in an other class in binary classification

My first question is sensitivity of SVM to unbalanced datapoints. How much SVM is sensitive to that? And is there any function...

12 dagen ago | 0 answers | 0

Question

Does setting "prior" in the classification play a role in the classification algorithm or it just modifies observations in the prior classification step?

Based on the explanation in the "Algorithm" section here: It seems that prior probablities are only used to remove datapoints...

12 dagen ago | 1 answer | 0

Question

if conditional 2 out of 3

I have three groups of number which can be 0 or 1. like A, B and C. I want to write a conditional to be true if 2 of three value...

21 dagen ago | 1 answer | 0

Question

Matlab 3 variable function plot

The equation is: f(X1,X2,X3)=bt1.x1+bt2.X2+bt3.X3+b1 bt1 to bt3 and b1 are all constants. and I want to plot it in 3D. I trie...

24 dagen ago | 2 answers | 0

Question

How to make fsurf a solid colored surface with no shade? and make the surface tranparent.

I am using fsurf to plot a surface. I wana make the whole surface a solid color and want to make the surface transparent. How ca...

27 dagen ago | 1 answer | 0

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

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

ongeveer een maand ago | 1 answer | 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...

ongeveer een maand ago | 1 answer | 0

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

ongeveer een maand ago | 1 answer | 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?

ongeveer een maand ago | 1 answer | 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...

ongeveer een maand 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...

ongeveer een maand 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...

ongeveer een maand 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 ...

ongeveer 2 maanden 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...

ongeveer 2 maanden 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...

ongeveer 2 maanden 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...

ongeveer 2 maanden 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...

ongeveer 2 maanden 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...

ongeveer 2 maanden 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.

ongeveer 2 maanden 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...

ongeveer 2 maanden 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...

ongeveer 2 maanden 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...

ongeveer 2 maanden 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...

ongeveer 2 maanden 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...

ongeveer 2 maanden 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...

ongeveer 2 maanden 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?

ongeveer 2 maanden 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?

ongeveer 2 maanden 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...

ongeveer 2 maanden ago | 1 answer | 0