How do i do i use the log transformation to transform both the x,y values containing negative and positive values .
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
I tried using the semilogy but it doesn't seem to work.is it because the x and y values are both negative and both. x=[-0.0992000000000000 0.291600000000000 -0.0673000000000000 -0.109500000000000 0.322600000000000 -0.159700000000000 -0.121000000000000 -0.120800000000000 -0.139600000000000 0.178600000000000]
y=[-0.139380000000000 0.167300000000000 -0.153700000000000 -0.120200000000000 0.339100000000000 -0.172300000000000 -0.130400000000000 -0.172700000000000 -0.131600000000000 0.362600000000000]
2 comentarios
Tejas Jayashankar
el 14 de Jun. de 2018
Hi,
You cannot take the logarithm of negative values as you pointed out. Do you want to plot y against x?
Respuestas (0)
Ver también
Categorías
Más información sobre Time Series Events en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!