Borrar filtros
Borrar filtros

How can i display the abscissa of the three maximum in the x axis ?

2 visualizaciones (últimos 30 días)
Mallouli Marwa
Mallouli Marwa el 21 de Mzo. de 2017
Comentada: Mallouli Marwa el 22 de Mzo. de 2017
Hi
the input are attached and the rest of the problem is below. I want to add the abscissa of the three maximum in the x
axis.
freq=omega./(2*pi);
semilogy(freq,p100*1e6,'b',freq,p1k*1e6,'m',freq,p100k*1e6,'k',freq,p10M*1e6,'--')
legend('100\Omega','1k\Omega','100k\Omega', '10M\Omega')
xlabel('Excitation frequency (Hz)')
ylabel('|Power FRF| [\muW/g^2]')
  1 comentario
KSSV
KSSV el 22 de Mzo. de 2017
What is data in the .m file? How you expect us to know with out knowing any details?

Iniciar sesión para comentar.

Respuestas (1)

KSSV
KSSV el 22 de Mzo. de 2017
Read about findpeaks. This does exactly what you want.
  1 comentario
Mallouli Marwa
Mallouli Marwa el 22 de Mzo. de 2017
@KSSV
If you copy my data and the rest of the program , you will obtain the curve.
But, i want to display every frequency of the peak in the x axis.
Please help me

Iniciar sesión para comentar.

Categorías

Más información sobre Graphics Performance en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by