3d plot peaks

3 ビュー (過去 30 日間)
Vick
Vick 2017 年 11 月 13 日
回答済み: Honglei Chen 2017 年 11 月 13 日
Hi,
How can i have a plot similar to this in matlab, I have Frequency data from 0-25 kHz (size 300*1), and amplidute data of size=300*200, Where 200 is my number of cycles.
Purpose of this graph is to understand how the amplidute of frequency increases with cycle. The same i'm not able to inference from the surface plot.
Thanks in advance !!

回答 (1 件)

Honglei Chen
Honglei Chen 2017 年 11 月 13 日
You can do something like this
c = 1:200;
f = 1:300; % replace with your freq
a = filter2(ones(11),rand(300,200)); % replace with your amplitude data
surf(c,f,a,'EdgeColor','none');
xlabel('Cycle');
ylabel('Frequency');
zlabel('Amplitude');
view(-60,60);
HTH

カテゴリ

Help Center および File ExchangeData Preprocessing についてさらに検索

タグ

製品

Community Treasure Hunt

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

Start Hunting!

Translated by