How do i do i use the log transformation to transform both the x,y values containing negative and positive values .
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
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 commentaires
Tejas Jayashankar
le 14 Juin 2018
Hi,
You cannot take the logarithm of negative values as you pointed out. Do you want to plot y against x?
Réponses (0)
Voir également
Catégories
En savoir plus sur Time Series Events dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!