Community Profile

# Sergio Yanez-Pagans

### University of Arizona

Last seen: 24 days ago Active since 2021

All

#### Content Feed

View by

How to numerically calculate the complex roots (eigenvalues) of a determinant?
Maybe this helps: https://www.mathworks.com/matlabcentral/fileexchange/94730-matrix-methods-of-linear-algebra?s_tid=srchtitle...

8 months ago | 0

Convert 2d image to 3d coordinates

8 months ago | 0

Is it possible to use the smooth function with a multidimensional matrix having NaN values?
Maybe this could be useful for you: https://www.mathworks.com/matlabcentral/fileexchange/23287-smooth2a?s_tid=srchtitle Go...

8 months ago | 0

Fill plot with gradient colors
Thank you Dave, that was really useful! Excellent answer =)

1 year ago | 0

Question

Fill plot with gradient colors
I'm trying to plot a signal, for example cos(x), with a red gradient colormap for positive values and a blue one for negative va...

1 year ago | 2 answers | 1

### 2

Question

tiledlayout within another tiledlayout
Is it possible to have a tiledlayout within another tilelayout? I would like to have 2 tiledlayouts on the same MATLAB figure

1 year ago | 0 answers | 0

### 0

how to label lines on a graph
This might be useful: https://www.mathworks.com/matlabcentral/fileexchange/97964-linemarks

1 year ago | 0

multi bar labeling plot
I would suggest trying this: https://www.mathworks.com/matlabcentral/fileexchange/97964-linemarks

1 year ago | 0

How to remove the tic labels but not the marks?
This can also help you to create ticks: https://www.mathworks.com/matlabcentral/fileexchange/97964-linemarks

1 year ago | 0

How do I format tick labels before R2016b?
Maybe this could be useful: https://www.mathworks.com/matlabcentral/fileexchange/97964-linemarks

1 year ago | 0

Indicate peak value of a signal in matlab plot
You could try this: https://www.mathworks.com/matlabcentral/fileexchange/89491-peaks-and-dips

1 year ago | 0

Question

change color of xticklabels or yticklabels
I need help with this: ax = gca; ax.XColor = 'w'; ax.YColor = 'w'; changes the color of the axis and the xticklabels. I want...

1 year ago | 1 answer | 0

### 1

How to save Excel file as a variable and pull data from it?
Using the Import Data option in the Home tab of MATLAB might be the easiest thing to you assuming you don't have tons of sheets ...

1 year ago | 1

Question

Find empty line in text file and build array
Hello everyone, I need help with this, please. If I have a text file (.txt) which contains the following: 1 1 1 1 2 2 2 2 ...

1 year ago | 1 answer | 0

### 1

How do I change the number of decimals in the axis ticks?
This might be more useful given that it only shows relevant ticks and labels (it doesn't only change the format of the label). Y...

2 years ago | 0

Matching deflection/Inflection points of two plotted curves
Hi Ashik, Why don't you try this?: https://www.mathworks.com/help/symbolic/find-asymptotes-critical-and-inflection-points.html...

2 years ago | 0

| accepted

Marking the peak of a plot automatically without having to click on it
You could use my MATLAB File Exchange function: https://www.mathworks.com/matlabcentral/fileexchange/89491-peaks-and-dips ...

2 years ago | 0

How to find peak or dip separation in frequency domain signal
These might work for you: https://www.mathworks.com/matlabcentral/fileexchange/89491-peaks-and-dips Hope you find this use...

2 years ago | 1

| accepted

How do I find the (x,y) coordinates of the peaks and valleys of a graph?
You can use my MATLAB file exchange function, it's really easy to implement and use: https://www.mathworks.com/matlabcentral/...

2 years ago | 0