Question

deep neural networks on boolean input

I want to use deep neural netowkrs to do regression. I have a boolean matrix x (400x75), which is 75 variables and 400 data poin...

6 months ago | 0 answers | 0

Question

different colors for the title

I want to have different colors for different words in the title how can I do that? something like this: p.col=[0.5 0.5 0.5; 0....

12 months ago | 1 answer | 0

Question

Using Gradient Descent in GLM

Is there a way to use the Gradient Descent in glmfit or any other function that is for Generalized Linear Model?

1 year ago | 0 answers | 0

Question

Fitting Gaussian to a curve with multiple peaks

<</matlabcentral/answers/uploaded_files/125942/1.png>> I have a curve with a few peaks (the figure is attached here). I want ...

2 years ago | 4 answers | 0

Question

Adding thr polar plot to another figure

Hi, I want to include a few polarplots where there is a black dot, i.e., I want the center of the polar plot to be at each bl...

2 years ago | 1 answer | 0

Question

How to find which function is calling another function?

When I compile my matlab codes (using command line on linux), functions plotroc.m in nnt toolbox is called. I want to know what...

3 years ago | 1 answer | 0

Question

How to compile a file on windows and use it on linux?

I am using windows 7 and I want to compile my matlab code. However, instead of .exe I need .sh because I am going to use the com...

3 years ago | 1 answer | 0

Question

How can I compile a code with command line?

I want to compile my matlab code using console. I have windows 7 and I also have two different version of Matlab on my computer....

3 years ago | 0 answers | 0

Answered

How to access all subdirectorie?

I also found to do the following dirs = regexp(genpath('M\F1'),['[^;]*'],'match');

How to access all subdirectorie?

I also found to do the following dirs = regexp(genpath('M\F1'),['[^;]*'],'match');

3 years ago | 0

Question

How to access all subdirectorie?

I want to find all subfolders in a folder. I know how to do it for one step but I want to do it recursively until it finds all s...

3 years ago | 4 answers | 0

Question

How to find the islands of a binary matrix

If you have a 2D binary matrix, how would you find the islands of ones? Thanks

3 years ago | 1 answer | 0

Answered

How to find the boundaries of the local maxima

This is the function I wrote to find the local maxima. Once I find those maxima I have to draw a boundary around them and take o...

How to find the boundaries of the local maxima

This is the function I wrote to find the local maxima. Once I find those maxima I have to draw a boundary around them and take o...

3 years ago | 0

Question

How to find the boundaries of the local maxima

I have a 2D image (matrix). I have found the local maxima of this image. Now I want to define the boundaries around each local m...

3 years ago | 2 answers | 0

Question

How to load part of a big structure to the workspace?

I have a big structure and loading it would take a long time. I need a specific variable in that structure. Is there any way I c...

3 years ago | 1 answer | 0

Question

How to set a value to some of the coefficients in glmfit

Hello, I want to use GLM to model the binary data. I have 3 different covariates, X1, X2 and X3. X1 is estimated with 14 basi...

3 years ago | 0 answers | 0

Question

Add a marker to surf plot

Hi, Can someone please tell me how I can add a marker to a figure which is plotted using surf. This is my code, but it doesn'...

3 years ago | 1 answer | 0

Question

How does sscanf work?

Can someone please tell me what does this line means? str=TT1.sp.mat elec=sscanf(str, '%*[TT]%d%');

4 years ago | 1 answer | 0

Question

How to use the walsh functions to approximate the binary data

I want to approximate a binary data with WALSH basis function. Could someone please help me how to do it? Should I just add the ...

4 years ago | 0 answers | 0

Question

Subplots shrink when I save the figure

I have 12 subplots in a figure and when I am trying to save the figure as .png or .jpg with a command line then the subplots shr...

4 years ago | 1 answer | 0

Question

Support Vector Machine on Big Data

I have n=1,000,000 data points with m=10 to m=60 attributes, i.e., m=10 to m=60 different variables. And I have a 1D output. I w...

4 years ago | 0 answers | 0

Question

Using fitglm for the generalized linear model in matlab

I have two question regarding fitglm and glmfit. 1- After doing some research, I realized that t is better to use fitglm inst...

4 years ago | 1 answer | 0

Question

Removing noise from a signal

<</matlabcentral/answers/uploaded_files/59665/Screenshot%202016-09-20%2011.08.47.png>> I have a following signal, and I want ...

4 years ago | 2 answers | 0

Question

load a big data

I have a big structure .mat file called a.mat and it has a structure named stat. stat has filed called day. i.e., stat.day. The...

4 years ago | 1 answer | 0

Question

How to computer the p value for one tail ranksum?

I have a 2010 Matlab and I want to use the ranksum function. However this version only computes the two tail pvalue. I have t...

4 years ago | 1 answer | 0

Question

y tick labels don't match

I am trying to plot two graphs on on figure, one uses right y axis and then other the left y axis. However, when I am plotting t...

4 years ago | 0 answers | 0

Question

How to compute fft of the rat's licking time?

I have data which measures the time when a rat licks a sugar water. When I computer the inter lick interval (ILI), sometimes I s...

4 years ago | 2 answers | 0

Question

How to cluster the data?

Hello, I have a data that looks like below and I want to cluster them. What would be the best algorithm to apply for clusteri...

5 years ago | 0 answers | 0

Question

Xtick location is not correct

Hello, I have two plots on one figure, which is shown in the attachment. The X tick for both of the the plots should be in th...

5 years ago | 1 answer | 0

Question

saving figures in matlab

Hello. I am generating bunch of figures in matlab which is in a for loop. I would like to save them both in .fig and .jpg. R...

5 years ago | 2 answers | 0

Question

Make legend for lines

Hello, My plot has two many lines but with only two different colors. When I want to add the legend I just want to write the le...

5 years ago | 1 answer | 0