photo

Matt Gaidica


University of Michigan

Last seen: 6 months ago Active since 2017

Followers: 0   Following: 0

Message

Statistics

All
  • 5-Star Galaxy Level 2
  • Thankful Level 2
  • Knowledgeable Level 3
  • Thankful Level 1
  • Personal Best Downloads Level 1
  • GitHub Submissions Level 1
  • First Submission
  • 3 Month Streak
  • Knowledgeable Level 2
  • First Answer

View badges

Feeds

View by

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

3 years ago | 0

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

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

3 years ago | 2 answers | 0

2

answers

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

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

3 years ago | 1 answer | 1

1

answer

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

4 years ago | 0

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

4 years ago | 0

| accepted

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

4 years ago | 1

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

4 years ago | 0

| accepted

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

4 years ago | 1

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

4 years ago | 0

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

4 years ago | 0

| accepted

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

4 years ago | 0

| accepted

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

4 years ago | 0

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

4 years ago | 0

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

4 years ago | 0

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

4 years ago | 0

| accepted

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

4 years ago | 0

| accepted

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

4 years ago | 0

| accepted

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

4 years ago | 0

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

4 years ago | 1

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

4 years ago | 0

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

4 years ago | 1

| accepted

Answered
downloading the same file to multiple locations
Yes. Download it then use the local path and copyfile

4 years ago | 0

| accepted

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

4 years ago | 0

| accepted

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

4 years ago | 0

| accepted

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

4 years ago | 0

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

4 years ago | 0

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

4 years ago | 1

Load more