질문

The interpretation of the error

I recieve this error but the code keeps running: Invalid or deleted object. Error in matlab.graphics.controls.internal.ToolT...

13일 전 | 답변 수: 1 | 0

질문

How to determine the functions used in a long matlab script?

I am organizing a long matlab script and I need to seprate the functions that this script calss to transfer all to an other fold...

약 1달 전 | 답변 수: 2 | 0

질문

Parameters of multivariate multinomial distribution using Naive Bayes classifier

Due to having categorical feature, I fitted multivariate multinomial distribution to a Naive Bayes classifier. I can not find th...

약 1달 전 | 답변 수: 1 | 0

질문

How to reorganize the data in table?

I have a large table like this: (the first row is column name "E" and "M") I want to know how many "blc" has "m" and how many "...

약 1달 전 | 답변 수: 1 | 0

질문

Yaxis becomes periodic after using ylim

Here is the y axis without using ylim: and here is the yaxis after using ylim([50 100]) why it looks weird? how can I ...

약 2달 전 | 답변 수: 1 | 0

질문

How to change properties of several plots simultaneously?

I want to set properties of several plots all at once instead of setting them individually. figure(1) plot(x,y,'--gs','LineWi...

약 2달 전 | 답변 수: 1 | 0

질문

Why matlab scatter plot edges looks strange/old fashined?

I am intersted to make a plot similor to: Here is what matlab plots: I changed the edge width and it became worse: I t...

약 2달 전 | 답변 수: 0 | 0

질문

Is it possible to track changes to the script in matlab?

I was editing a code a week ago. I want to contine working on it after a week. I do not remember what changes I made and what wa...

약 2달 전 | 답변 수: 1 | 0

질문

How to change color bar limits in imagesc?

For heatmap, thisc command would work: 'ColorLimits',[50 100] but it did not work for imagesc.

3달 전 | 답변 수: 1 | 0

질문

How to show original values in the heatmap and in the colorbar while log(data) is used to make heatmap?

Here is the heatmap code: heatmap(x,y,log(ave_array)); I want the values shown on the heatmap subspace NOT be in log scale and...

3달 전 | 답변 수: 1 | 0

질문

How to make a structure to be input of a function and then its updated version to be output of the function?

I want to make a structure to be input of a function and then do some analysis and add some fields to the structure and return t...

3달 전 | 답변 수: 2 | 0

질문

How to make multiple strings arrays of repeating word and number?

I need to make an array that is like this: ["var1","var2","var3",...,"var18"] the size of the array may change (larger or sma...

3달 전 | 답변 수: 1 | 0

질문

How to merge two arrays/rearrange two table colums one by one

Let's say I have tow arrays both are horizontal with the same size like: A=[1,2,3,4,5]; B=[11,22,33,44,55]; I want to merge t...

3달 전 | 답변 수: 1 | 0

질문

Matlab vs python for CNN

I have not done CNN before and was wodering about CNN in python vs matlab. A comparison between strenght and weaknesses between ...

3달 전 | 답변 수: 1 | 0

질문

How to obtain a ROC curve through cross validation on the out of fold data in cross validation?

I am using fitcsvm and need to obtain ROC curve for the fold that is not used in training. Here is the code: classificationSVM...

4달 전 | 답변 수: 0 | 0

질문

Why perfcurve does not return a consistent result?

when I run the perfcurve function like this: [X,Y,T,AUC] = perfcurve(labels,scores,posclass) some times the length of X, Y and...

4달 전 | 답변 수: 0 | 0

질문

Why posterior probability of support vector machine classifier uses the prediction function of KNN ?

In this link that explains the fit spoterior for SVM model, in the firts example: ScoreSVMModel = fitPosterior(SVMModel) then ...

4달 전 | 답변 수: 0 | 0

질문

Edit the plot of multcompare

Here is the produced plot of multcompare: I want to change the color of each plot so that I would have a specific color for e...

4달 전 | 답변 수: 0 | 1

질문

How to add std to heatmap cell?

I need to add std to the heatmap so that instead of showing 68.64 in the below heatmap, it shows 68.64 plus or minus STD.

4달 전 | 답변 수: 0 | 0

질문

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

4달 전 | 답변 수: 1 | 0

질문

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

4달 전 | 답변 수: 0 | 0

질문

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

4달 전 | 답변 수: 1 | 0

질문

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

5달 전 | 답변 수: 1 | 0

질문

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

5달 전 | 답변 수: 2 | 0

질문

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

5달 전 | 답변 수: 1 | 0

질문

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

5달 전 | 답변 수: 1 | 0

질문

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

5달 전 | 답변 수: 1 | 0

질문

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

5달 전 | 답변 수: 1 | 0

질문

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

5달 전 | 답변 수: 1 | 0

질문

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?

5달 전 | 답변 수: 1 | 0