필터 지우기
필터 지우기

How to scale data and plot?

조회 수: 9 (최근 30일)
mm99
mm99 2020년 1월 11일
댓글: mm99 2020년 1월 11일
Hi!
I have a plot (attached). I want to scale it so that x axis is in [kHz] . I don't only want to scale the axis but also the whole plot, so that it wil show the values present in [kHz].
Thanks in advance.

답변 (1개)

KALYAN ACHARJYA
KALYAN ACHARJYA 2020년 1월 11일
편집: KALYAN ACHARJYA 2020년 1월 11일
I want to scale it so that x axis is in [kHz] .
Multiply x data with 10^(-3), and calculate the corresponding y data, then plot.
  댓글 수: 1
mm99
mm99 2020년 1월 11일
Okay! And what if i have a matrix 20000x5000, which is a 2D fft from numerical model responses after chirp signal excitation and it gives me a plot of frequency vs wave-number in [Hz] vs [1/mm] and I want it to be in [kHz] vs [1/m]. Can I somehow multiply the values in the matrix ?

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Annotations에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by