John D
Content Feed
提问
ADSR envelope shaping on audio file
I'm trying to apply ADSR envelope shaping to an audio file as shown below. load handel y Fs; N = 1.5 * Fs; t = [0:N-1]/Fs; x...
3 years 前 | 2 个回答 | 0
2
个回答提问
How can I adjust treble/bass/volume using dB values?
I have an App Designer app with three sliders that allow the user to input treble, bass and volume output values in dB. How coul...
4 years 前 | 0 个回答 | 0
0
个回答提问
StopFcn not working with audioplayer object
I'm using App Designer with the following code: app.Player = audioplayer(y, Fs); app.Player.StopFcn = @PlayerStoppedFcn; fu...
4 years 前 | 0 个回答 | 0
0
个回答提问
Replacing values in matrix that are greater than another matrix
I have the following code that, if a value in A is greater than a corresponding value in B, will replace that value with the val...
4 years 前 | 1 个回答 | 0
1
个回答提问
ROI deleted event listener
Is there a listener event for when an ROI has been deleted from an axes? For example, like so: addlistener(h,'ROIDeleted',@alle...
4 years 前 | 2 个回答 | 0
2
个回答已回答
Save ROI lines without saving handles
Answered my own question: created deep copy lines = lineHandles(:,:); save('roi.mat', 'lines');
Save ROI lines without saving handles
Answered my own question: created deep copy lines = lineHandles(:,:); save('roi.mat', 'lines');
4 years 前 | 0
| 已接受
提问
Save ROI lines without saving handles
I have the following code in a GUI which saves a set of user-drawn lines to an array. h = drawline(handles.axes1,'Tag','userLin...
4 years 前 | 1 个回答 | 0
1
个回答提问
Remove specific rows from matrix
I have two matrices shown below: A = 0.2247 0.5845 0.4942 0.7303 0.5000 0.5000 0.6440 0.5408 ...
4 years 前 | 1 个回答 | 0
1
个回答提问
Accessing ROI objects in GUIDE
I'm allowing the user to create a series of line ROIs like so, using a GUIDE app pushbutton: function pushbuttonline_Callback(h...
4 years 前 | 1 个回答 | 0
1
个回答提问
Intersection between line and circle when line ends inside circle (using geom2d)
I have a circle and a line drawn like so... Using the createLine function in the geom2d collection, the line is treated like ...
4 years 前 | 1 个回答 | 0
1
个回答提问
Allow user to draw a line using mouse
How can I get a user to draw a line using their mouse in an App Designer app using R2019a? Edit: If App Designer does not suppo...
4 years 前 | 1 个回答 | 0