From: Robert on 6 Jun 2010 11:19 hi all, i've got two problems which i assume are quite common and also easily fixed, but i don't know how. my first problem is that i'm running Stephen McGovern's room impulse generator and fconv function with conjunction with each other on a standard short speech wav file. the problem is the output is cut short, and hence the speech is cut in half. i've also had this common problem running reverb functions whereby the affected audio vector is outputted via wavwrite but cut in short. common error? easy fix? please help = ), i assume the error is at the wavwrite stage, not having anythign to do with the reverbs. secondly, i've created a GUI which plots the original and affected audio vector. my problem is that the plots are displayed on the background on the GUI window, that is, the same window where the end-user enters their parameters positioned behind the input fields. i would instead like to have the 2 subplots in a totally different figure window. any suggestions on how this can be done? kind regards, Rob
From: ImageAnalyst on 6 Jun 2010 11:42 For the second question, you need to create two axes controls on the figure. Then call plot() passing it the handle to the axes you want to plot into. Or call the axes() command before plot() if you aren't passing in the axes handle to plot as an argument.
From: Robert on 6 Jun 2010 19:11 the gui actually runs another seperate .m file which has it's plotting code at the end. is there a way to plot completely outside/separate to the GUI window, but still use the GUI to enter all the parameters? i'm aware of the axes option but want to avoid that. Any help appreciated = )
|
Pages: 1 Prev: timer execute within another timer? Next: fastinsert error: 'setDouble' |