How do i do i use the log transformation to transform both the x,y values containing negative and positive values .
조회 수: 1 (최근 30일)
이전 댓글 표시
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
Tejas Jayashankar
2018년 6월 14일
Hi,
You cannot take the logarithm of negative values as you pointed out. Do you want to plot y against x?
답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Time Series Events에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!