フィルターのクリア

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
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 ExchangeTime Series Events についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by