Community Profile

# Matt Gaidica

### University of Michigan

Last seen: 1 day ago Active since 2017

All

#### Content Feed

View by

How to find out if any signal has a noise signal and if so in what range?
Mehmet, do you have a recording from the accelerometer at rest and is that the condition which you want to test for 'noise' agai...

1 year ago | 0

using the attached color image and ROI mask and how can I remove the background from the image and retain only the approximate ROI.

1 year ago | 0

| accepted

Question

Converting RGB Image to Grayscale Intensity on arbitrary Colormap
We have some thermal videos that have a colorscale presented along the side. I would like to run some thermal analysis on video ...

1 year ago | 2 answers | 0

### 2

Dynamic window for smoothdata
In brief, I'm just running through progressively smaller filters and creating a smoothed binary gate depending on if the filter ...

2 years ago | 0

| accepted

Question

Dynamic window for smoothdata
Say I have a single stream of data (vector) that has sections where I want different filter window lengths. For instance, I want...

2 years ago | 1 answer | 1

### 1

Edit an html with some string lines
If you just need to jam it in there: HTMLtag = "</body>"; myText = "Please follow this link:</br><a href=..."; strrep(emailHT...

2 years ago | 0

Calculates the mean if the difference of two or more number is 1
A = [9 10 12 14 15 16 18 19 22 23 25]; idx = find(diff(A)==1); B = mean([A(idx);A(idx+1)]) I think you have a typo above, 25 ...

2 years ago | 0

| accepted

How to find the inner distance between the 2 white lines
I'm not sure this is entirely correct, but you had things improperly placed.

2 years ago | 1

Prevent plot() filling missing data between points
Use NaN.

2 years ago | 0

| accepted

Passing individual elements of an array into a function
I don't think so, closest I can think of is using varargin. I think many people are going to ask why you need to use your design...

2 years ago | 1

Axes automatically change size and get mis-aligned in App Designer
Kris, one thing you can do is get the position property from all axes before you populate the data and then set it again afterwa...

2 years ago | 0

Doesnt overwrite Variable inside of Loop
gamma = int32([0.005,0.01,0.025,0.0500,0.1,0.9,0.95,0.975,0.99,0.995] * 1000); signifikanzniveau = 0.95; g_s = int32((1 - sig...

2 years ago | 0

| accepted

Error using imwrite to convert .tif files to .jpeg
JPEG files are only going to be NxMx3. Try: imwrite(img(:,:,1:3), newName); If that doesn't work, please supply your TIFF's.

2 years ago | 0

| accepted

How to extract data from two separate tabs
The easiest way to think about this would be using a simple series find statements and the returned indexes to do time compariso...

2 years ago | 0

Removing jumps from data when plotting a graph
What do you want to do with the data that around the jumps (still referring to my previous figure)? Interpolate it? Maybe you wa...

2 years ago | 0

I don't immediately see how to do this unless you know the filenames apriori or can FTP into the site and use dir(). Perhaps yo...

2 years ago | 0

Plotting Acquired Data to Separate Figure Windows Continuously
For these applications I have used https://www.mathworks.com/help/matlab/ref/addpoints.html with success.

2 years ago | 0

| accepted

Extracting Multiple Points In Successive Images in a 3D Matrix
You would just build a 100 x 100 x 25 matrix (assuming these images are gray/binarized) and then something like: figure; plot(...

2 years ago | 0

| accepted

How to find the inner distance between the 2 white lines
The only thing you don't state is what to do in the case around x=400 where white pixels do not demarcate the "top". One way to ...

2 years ago | 0

| accepted

Finding a specific pair of points in 2 matrices placed at the same index on both
[row,col] = find(A == 3 & B == 8) Those will be empty if your condition doesn't exist.

2 years ago | 0

Pixel value difference graph for two images
First of all, are you asking for an algorithm to get the pixel value difference or do you just want code for the histogram? To g...

2 years ago | 1

changing the name of multiple csv files in a folder
csvPath = '/path/to/files'; filelist = dir(fullfile(csvPath,'*.csv')); for iFile = 1:numel(fileList) thisFile = fullfile(...

2 years ago | 0

Plotting legends in loop for mean and standard deviation of spectra
I think what you want to do is utilize the subset input for legend. What I usually do is something like this: lns = []; for i=...

2 years ago | 1

| accepted

2 years ago | 0

| accepted

extract data based on specific condition
Here's an illustrative way to do it, for both the case where row order matters and does not: set1 = [58202.0003472222,10,12,-0....

2 years ago | 0

| accepted

HOW TO INSERT THE DATE (DATETIME) IN THE PRINT?
print(['HSIGN_calma' (caption1(t)) datestr(now,'yyyymmdd_HHMMSS') '.png'],'-dpng'); See: https://www.mathworks.com/help/matlab/...

2 years ago | 0

| accepted

High resolution FFT from time domain data.

2 years ago | 0

how i can write this in matlab
i - 1.3 * diff(y) * j

2 years ago | 0

Correlation of two variables over time: can this happen?