Drexel dragonThe Math ForumDonate to the Math Forum



Search All of the Math Forum:

Views expressed in these public forums are not endorsed by Drexel University or The Math Forum.


Math Forum » Discussions » Software » comp.soft-sys.matlab

Topic: alternatives to surf
Replies: 1   Last Post: Feb 28, 2013 5:43 PM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View  
Steven Lord

Posts: 17,944
Registered: 12/7/04
Re: alternatives to surf
Posted: Feb 28, 2013 5:43 PM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply



"Andrew " <almvz5@mail.missouri.edu> wrote in message
news:kgo9n8$pc9$1@newscl01ah.mathworks.com...
> I'm plotting spectrograms (time v frequency v power) and the current way I
> do this is by running spectrogram, saving the outputs, then using surf and
> view to get it to the right view. I want time on the x axis, frequency on
> the y, and NOT a 3D plot, but a color plot of the values in P. P is
> length(T) by length(F).
>
>
> Ex
>
> surf(T,F,P)
> view(0,90)
>
> This works fine as far as the image goes, but it takes a lot of processing
> power and time. It can take up to 30 seconds to produce one of these plots
> as I am working with a lot of data.
>
> My P matrices are generally something like 500000 x 50.
>
> I've tried using contour and contourf and get similar computation
> time/effort results.
>
> Any thoughts on what I can use/alter to make these plots take less
> time/effort?


How big is your monitor? Do you really need to display a surface 500k
elements long in one of its dimensions? I would consider resampling.

--
Steve Lord
slord@mathworks.com
To contact Technical Support use the Contact Us link on
http://www.mathworks.com




Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© Drexel University 1994-2014. All Rights Reserved.
The Math Forum is a research and educational enterprise of the Drexel University School of Education.