Community Profile

# Matt Gaidica

### University of Michigan

Last seen: 12 jours il y a Actif depuis 2017

#### Statistics

All

Afficher les badges

#### Content Feed

Afficher par

A répondu
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...

environ un an il y a | 0

A répondu
using the attached color image and ROI mask and how can I remove the background from the image and retain only the approximate ROI.
IM = imread('ROI.png'); mask = logical(imread('mask.png')); rmMask = bsxfun(@times, IM, cast(mask, 'like', IM)); close all ...

environ un an il y a | 0

| A accepté

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

environ un an il y a | 2 réponses | 0

### 2

réponses

A répondu
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 ...

presque 2 ans il y a | 0

| A accepté

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

presque 2 ans il y a | 1 réponse | 1

### 1

réponse

A répondu
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...

presque 2 ans il y a | 0

A répondu
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 ...

presque 2 ans il y a | 0

| A accepté

A répondu
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.

environ 2 ans il y a | 1

A répondu
Prevent plot() filling missing data between points
Use NaN.

environ 2 ans il y a | 0

| A accepté

A répondu
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...

environ 2 ans il y a | 1

A répondu
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...

environ 2 ans il y a | 0

A répondu
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...

environ 2 ans il y a | 0

| A accepté

A répondu
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.

environ 2 ans il y a | 0

| A accepté

A répondu
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...

environ 2 ans il y a | 0

A répondu
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...

environ 2 ans il y a | 0

A répondu
Download data from URL into my directory
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...

environ 2 ans il y a | 0

A répondu
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.

environ 2 ans il y a | 0

| A accepté

A répondu
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(...

environ 2 ans il y a | 0

| A accepté

A répondu
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 ...

environ 2 ans il y a | 0

| A accepté

A répondu
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.

environ 2 ans il y a | 0

A répondu
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...

environ 2 ans il y a | 1

A répondu
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(...

environ 2 ans il y a | 0

A répondu
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=...

environ 2 ans il y a | 1

| A accepté

A répondu
downloading the same file to multiple locations
Yes. Download it then use the local path and copyfile

environ 2 ans il y a | 0

| A accepté

A répondu
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....

environ 2 ans il y a | 0

| A accepté

A répondu
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/...

environ 2 ans il y a | 0

| A accepté

A répondu
High resolution FFT from time domain data.
How big is data? You can zero-pad your FFT, or add more to 'data', that might help you.

environ 2 ans il y a | 0

A répondu
how i can write this in matlab
i - 1.3 * diff(y) * j

environ 2 ans il y a | 0

A répondu
Correlation of two variables over time: can this happen?
Sure, it can happen. What's your concern about it?

environ 2 ans il y a | 1