consulting 3D graph

12 views (last 30 days)
Shahar ben ezra
Shahar ben ezra on 13 Nov 2020
Commented: Shahar ben ezra on 13 Nov 2020
Hi
I have a question about consulting a 3D graph design
I have in my data:
  • Samples
  • Frequency axis
  • And the amplitude by sampling for freq
How would you present this data in a three-dimensional graph
Functions like surf are irrelevant because the Z axis does not depend on X&Y
Z is a known value
tnx :)
Example
  5 Comments
Rik
Rik on 13 Nov 2020
You don't need to do that, it is just a way in which you can create some example data. You can just use the actual Z values.
Shahar ben ezra
Shahar ben ezra on 13 Nov 2020
Edited: Shahar ben ezra on 13 Nov 2020
this is work!!
tnx!!

Sign in to comment.

Accepted Answer

Cris LaPierre
Cris LaPierre on 13 Nov 2020
Edited: Cris LaPierre on 13 Nov 2020
I think the natural choice here is a spectrogram. Samples go along one axis, frequency along the other, and color is used to convey power. Look at some of the examples on the linked page.
  6 Comments
Cris LaPierre
Cris LaPierre on 13 Nov 2020
Edited: Cris LaPierre on 13 Nov 2020
The best way to explore plotting options is to select the variable in your workspace, then open the Plots tab. All possible options for that variable will be displayed. Expand the list to see them all. Find one you like and select it.
Shahar ben ezra
Shahar ben ezra on 13 Nov 2020
Wow
you made my day
Thanks!

Sign in to comment.

More Answers (0)

Products


Release

R2020b

Community Treasure Hunt

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

Start Hunting!