Community Profile

photo

Matt Gaidica


University of Michigan

Last seen: 4 månader ago Active since 2017

Statistics

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

View badges

Content Feed

View by

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

4 månader 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...

4 månader 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...

5 månader 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 ...

6 månader 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.

6 månader ago | 1

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

6 månader 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...

6 månader 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...

6 månader 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...

6 månader 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.

6 månader 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...

6 månader 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...

6 månader 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...

6 månader 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.

6 månader 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(...

6 månader 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 ...

6 månader 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.

6 månader 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...

6 månader 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(...

6 månader 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=...

6 månader ago | 1

| accepted

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

6 månader 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....

7 månader 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/...

7 månader 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.

7 månader ago | 0

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

7 månader ago | 0

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

7 månader ago | 1

Answered
how to remove a middle line in the histogram
After subplot(234) capture ylim ylimVals = ylim; The set it after the other subplots: ylim(ylimVals);

7 månader ago | 0

| accepted

Answered
Binary image conversion from real image
Are you perhaps looking for: BW = im2bw(h);

7 månader ago | 0

Answered
how to remove a middle line in the histogram
Can you just plot a subsection of those data? Is this RGB data? imshow(MyImrgbColb(1:end-1,:,:).^(1/2.2));

7 månader ago | 0

Answered
Selecting multiple data ranges
Do you need A1 and A2? A3 = repmat(1:100,12,1) + transpose(repmat(0:11,100,1)); or A3 = bsxfun(@plus,0:11,transpose(1:100));...

7 månader ago | 0

Load more