Community Profile

photo

Matt Gaidica


Last seen: 1 día ago

University of Michigan

46 total contributions since 2017

Contact

Matt Gaidica's Badges

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

Contributions in
View by

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

13 días 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 ...

20 días 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.

alrededor de 1 mes ago | 1

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

alrededor de 1 mes 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...

alrededor de 1 mes 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...

alrededor de 1 mes 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...

alrededor de 1 mes 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.

alrededor de 1 mes 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...

alrededor de 1 mes 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...

alrededor de 1 mes 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...

alrededor de 1 mes 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.

alrededor de 1 mes 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(...

alrededor de 1 mes 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 ...

alrededor de 1 mes 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.

alrededor de 1 mes 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...

alrededor de 1 mes 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(...

alrededor de 1 mes 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=...

alrededor de 1 mes ago | 1

| accepted

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

alrededor de 1 mes 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....

alrededor de 2 meses 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/...

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

2 meses ago | 0

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

2 meses ago | 0

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

2 meses 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);

2 meses ago | 0

| accepted

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

2 meses 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));

2 meses 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));...

3 meses ago | 0

Answered
logical operators with while loop
At the risk of doing someones homework :P clc; clear; x = 0; % or start at x = 86^2; while true a = rem(x,13); b =...

3 meses ago | 1

| accepted

Answered
Summing Datenum resets after 24 hours
I don't know if the datetime functions are going to allow that triple digit hour. Here's one approach. z = sprintf('%03i:%02i:%...

3 meses ago | 0

Load more