# Sergio Yanez-Pagans

### University of Arizona

Last seen: plus d'un an il y a Actif depuis 2021

Followers: 0   Following: 0

All

#### Feeds

Afficher par

Réponse apportée
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...

presque 2 ans il y a | 0

A résolu

Generate a vector like 1,2,2,3,3,3,4,4,4,4
Generate a vector like 1,2,2,3,3,3,4,4,4,4 So if n = 3, then return [1 2 2 3 3 3] And if n = 5, then return [1 2 2 3 3 3 4...

presque 2 ans il y a

A résolu

Make the vector [1 2 3 4 5 6 7 8 9 10]
In MATLAB, you create a vector by enclosing the elements in square brackets like so: x = [1 2 3 4] Commas are optional, s...

presque 2 ans il y a

A résolu

Finding Perfect Squares
Given a vector of numbers, return true if one of the numbers is a square of one of the numbers. Otherwise return false. Example...

presque 2 ans il y a

A résolu

Return area of square
Side of square=input=a Area=output=b

presque 2 ans il y a

A résolu

Maximum value in a matrix
Find the maximum value in the given matrix. For example, if A = [1 2 3; 4 7 8; 0 9 1]; then the answer is 9.

presque 2 ans il y a

A résolu

Find the sum of all the numbers of the input vector
Find the sum of all the numbers of the input vector x. Examples: Input x = [1 2 3 5] Output y is 11 Input x ...

presque 2 ans il y a

A résolu

Given a and b, return the sum a+b in c.

presque 2 ans il y a

A soumis

Peaks and Dips
Easily allows you to automatically find, plot, and label local maxima (peaks) and local minima on MATLAB

presque 2 ans il y a | 7 téléchargements |

A soumis

LineMarks
Adds "line marks" in order to label and identify constant values or allows to highlight data intervals

presque 2 ans il y a | 2 téléchargements |

A soumis

Plot,....but plot well!
Fix your horrible default MATLAB plot/graph/figure in 1 easy step

presque 2 ans il y a | 2 téléchargements |

Réponse apportée
Convert 2d image to 3d coordinates

presque 2 ans il y a | 0

Réponse apportée
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...

presque 2 ans il y a | 1

A soumis

Squiggly Arrows
Easiest way to draw a squiggly arrow

environ 2 ans il y a | 2 téléchargements |

Réponse apportée
Thank you Dave, that was really useful! Excellent answer =)

plus de 2 ans il y a | 0

Question

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

plus de 2 ans il y a | 2 réponses | 1

### 2

réponses

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

plus de 2 ans il y a | 1 réponse | 0

### 0

réponse

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

presque 3 ans il y a | 0

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

presque 3 ans il y a | 0

Réponse apportée
How to remove the tic labels but not the marks?

presque 3 ans il y a | 0

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

presque 3 ans il y a | 0

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

presque 3 ans il y a | 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...

presque 3 ans il y a | 1 réponse | 0

### 1

réponse

Réponse apportée
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 ...

presque 3 ans il y a | 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 ...

presque 3 ans il y a | 1 réponse | 0

### 1

réponse

Réponse apportée
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...

environ 3 ans il y a | 0

Réponse apportée
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...

environ 3 ans il y a | 0

| A accepté

Réponse apportée
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 ...

environ 3 ans il y a | 0

Réponse apportée
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...

environ 3 ans il y a | 1

| A accepté

Réponse apportée
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/...

environ 3 ans il y a | 0