# Krispy Scripts

Followers: 0 Following: 0

Novel scientist trying to use MATLAB to enhance the research and vice versa(maybe?).

**Statistics**

RANK**37,514**

of 294,507

REPUTATION**1**

CONTRIBUTIONS

**30** Questions

**3** Answers

ANSWER ACCEPTANCE **
90.0%
**

VOTES RECEIVED**0**

RANK

of 20,119

REPUTATION**N/A**

AVERAGE RATING**0.00**

CONTRIBUTIONS**0** Files

DOWNLOADS **0**

ALL TIME DOWNLOADS**0**

RANK

of 151,773

CONTRIBUTIONS

**0** Problems

**0** Solutions

SCORE**0**

NUMBER OF BADGES**0**

CONTRIBUTIONS**0 Posts**

CONTRIBUTIONS**0** Public Channels

AVERAGE RATING

CONTRIBUTIONS**0** Highlights

AVERAGE NO. OF LIKES

**Feeds**

Question

Isolating segments of data in one column using time integrals from the next column

Hi, I am trying to find segments of data from intervals of start and stop times. The data is a matrix with data in the first ...

7 years ago | 1 answer | 0

### 1

answerQuestion

Finding segments of data using time stamps in one column to the corresponding data in another column of the same matrix. Output each segment of data into separate matrix row or cell array

Hi, I am trying to find segments of data from intervals of start and stop times. The data is a matrix with data in the first ...

7 years ago | 0 answers | 0

### 0

answersQuestion

Eliminating an entire point on a plot both for data and on the axis

I have a graph of power spectrum data. As is the case with notch filters, there is a dip at 60Hz for the filter. I am wondering ...

7 years ago | 2 answers | 0

### 2

answersQuestion

Exchanging negative values in a matrix with 0

Is it possible to replace all the negative values in this matrix with zeros? matrix = 71.7231000000000 74.7231000000000 33.9...

8 years ago | 2 answers | 0

### 2

answersQuestion

Error in bar graph legend with bar graph with two groups

I am trying to make a bar graph with two different groups. I have done almost everything, but I am trying to add a legend for gr...

8 years ago | 1 answer | 0

### 1

answerQuestion

Extending or doubling a histogram

I have data that I have plotted into a histogram from around -3 to 3. I want to basically take the histogram and repeat it once ...

8 years ago | 2 answers | 0

### 2

answersQuestion

Accessing cell arrays within a cell array and merging them together end to end or in the same column/row

I have a cell array with 9 cells. Within those cells I have matrices with 7001 x 1 data points. I am trying to merge all the mat...

8 years ago | 1 answer | 0

### 1

answerQuestion

Using Gaussian Mixture Model (fitgmdist) to test clustering of three variables

I am trying to use Gaussian Mixture Model to cluster data based on three different variables. I know it is possible to cluster d...

8 years ago | 0 answers | 0

### 0

answersneed reference paper or detals link of matlab function regionprops centroid

https://www.ijert.org/view-pdf/1540/number-plate-recognition-using-segmentation http://ieeexplore.ieee.org/document/4631636...

8 years ago | 0

Nonlinear Regression: Residual Analysis

My understanding is that non-linear regression is needed when such things as normal distribution, homoscedasticity, and autocorr...

8 years ago | 0

Question

Outpt with zeros when should be values

I have a matrix of two columns. The first column is *cue times*, as in times an animal was cued to do something. The second colu...

8 years ago | 2 answers | 0

### 2

answersQuestion

Finding values of a response within range of a cue

I have a matrix of two columns. The first column is cue times, as in times an animal was cued to do something. The second column...

8 years ago | 1 answer | 0

### 1

answerQuestion

Finding Valley of Waveform (local minimum) without displacing wave

I am trying to find the peak and valley of a waveform. My data is attached in the matrix. It is a waveform repeated four times. ...

8 years ago | 1 answer | 0

### 1

answerQuestion

Attempting to find data points of two different matrices based off of time, but outcome is that I am getting the same value repeatedly

I have one matrix with data in the first column and time stamps in the second column (datamatrix.mat). The next matrix contains ...

8 years ago | 1 answer | 0

### 1

answerQuestion

Finding data points of two different matrices based off of time

I have one matrix with data in the first column and time stamps in the second column (datamatrix.mat). The next matrix contains ...

8 years ago | 2 answers | 0

### 2

answersQuestion

Finding Closest Data Point

I have one matrix with data in the first column and time stamps in the second column (datamatrix.mat). The next matrix contains ...

8 years ago | 2 answers | 0

### 2

answersQuestion

Interpolation method for data that is wave-like or oscillatory

I am attempting to Interp1 for interpolation of data that is wave-like or oscillatory in nature. I am planning on using the 'lin...

8 years ago | 1 answer | 0

### 1

answerQuestion

Sorting data in one column based on the time stamps in the alternate column

In one matrix, one column has data and the column next to it has time stamps. I have another matrix where the first column is st...

8 years ago | 1 answer | 0

### 1

answerThe centroids of objects in an image have been found. It has then been cropped to a certain area. IS it possible to tell if more than one centroid is in a cropped image?

Here is the attached image. I am basically trying to individually find the area, perimeter, circularity (ECD in image analyst's ...

8 years ago | 0

Question

The centroids of objects in an image have been found. It has then been cropped to a certain area. IS it possible to tell if more than one centroid is in a cropped image?

I have the centroids of all the objects of an image. I have than cropped a 288 by 288 pixel area around the images (the size of ...

8 years ago | 3 answers | 0

### 3

answersQuestion

A cropped image that has a single object that has been thresholded and converted to binary image. Is it best to use regionprops to find the area of that image or some other method?

A cropped image that has a single object that has been thresholded and converted to binary image. Is it best to use regionprops ...

8 years ago | 1 answer | 0

### 1

answerQuestion

Is it possible to find a center for a centroid and then use imcrop to find a certain size cropped area around that center

I asked a question here http://www.mathworks.com/matlabcentral/answers/299414-creating-image-mask-of-288-by-288-pixel-from-ce...

8 years ago | 1 answer | 0

### 1

answerQuestion

I have an original image that has not been converted to binary. I have found the centroid for multiple areas, now I want to use them crop 288 pixel areas around centroid. I then want to calculate total summed pixel area. Can I use a for loop?

I have centroid of multiple areas of an image. I want to use those centroids to crop 288 by 288 regions around the centroid and ...

8 years ago | 1 answer | 0

### 1

answerQuestion

creating image mask of 288 by 288 pixel from centroid location, threshold the image mask and out put summed pixel area

Hi all, I am very new to the image analyst world. I have an image that has had the centroids calculated ( <http://www.mathwor...

8 years ago | 1 answer | 0

### 1

answerQuestion

Finding centroid of an image with a summed pixel area greater than 120 pixels squared

Hi, I am trying to find the position of an object in an image. I need to first find connected pixels with intensity values ab...

8 years ago | 1 answer | 0

### 1

answerQuestion

A for loop type function for setting cell array intervals to zero

http://www.mathworks.com/matlabcentral/answers/291075-aligning-5-second-interval-data-of-continuous-time-to-the-same-interval ...

8 years ago | 1 answer | 0

### 1

answerQuestion

Aligning 5 second interval data of continuous time to the same interval

I have an array of times at which neurons are firing, spike times, that are all 5 second intervals. However, these intervals are...

8 years ago | 1 answer | 0

### 1

answerQuestion

Setting time intervals in a cell array all to the same 0 to 5 second time interval

I am trying to find the spiking rates over 5 second intervals of time. I have the spike times of intervals in a cell array(spk)....

8 years ago | 1 answer | 0

### 1

answerQuestion

Taking data points in between multiple interval times times and outputting them in separate structural arrays

I have spike times in one matrix. I then have time intervals, start and stop times, that I would like to get all the spike times...

8 years ago | 1 answer | 0

### 1

answerQuestion

FIR Bandpass question about order and sampling rate

Hello, I have Local Field Potential Data that I am looking to filter. I would like to filter it for the gamma oscillation freque...

8 years ago | 1 answer | 0