Plot points with the spectra

1 view (last 30 days)
Ductho Le
Ductho Le on 14 Jan 2021
Edited: Ductho Le on 14 Jan 2021
I have a set of points and their amplitudes. I want to plot a graph like this (fig bellow) in which amplitudes are plotted as the spectra of every points.
I plot the graph with command:
plot(f,pv,'k.') % f: frequency; pv: phase velocity
Could you help me to impose amplitude to this plot.
Thanks in advance.

Answers (0)

Categories

Find more on Mathematics in Help Center and File Exchange

Tags

Products


Release

R2016b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!