Community Profile

photo

Muhammad Jibran


Last seen: 2 years ago Active since 2017

Statistics

Content Feed

View by

Question


I want to get FFT of a live sound stream on guide, i have used following code to initialize a sound devise in MATLAB
d = daq.getDevices ; dev = d(2); handles.s = daq.createSession('directsound'); addAudioInputChannel(s,dev.ID,1:2); handles.s...

4 years ago | 0 answers | 0

0

answers

Question


Using MATLAB GUI popup
I’m working on a GUI , I have use a popup menu which gets enabled on/off by clicking on a check box. As I click on the check bo...

4 years ago | 1 answer | 0

1

answer

Question


I have added an edit box in a gui. I want that Neither alphabets nor special characters appear in it. Only the numbers are allowed to be appeared
data= uicontrol (‘style’, ‘edit’, ‘string’, ‘ ‘, ‘position’, [35,30,60,15]); &&& comment if user presses any alphabet or spec...

5 years ago | 1 answer | 0

1

answer

Question


I’m using uncontrol check box , by command in a script, I have associated a function with check box, how can I get the handle of that function out
uicontrol('style', 'checkbox', 'string', 'plz tick', 'callback',{@dt,xm}; function h = dt(hObject,xm,~) h = line([xm xm] , [-...

5 years ago | 1 answer | 0

1

answer

Question


I have a a simpe graph, say sine wave. Using uicontrol i added a check box on the above-mentioned sinwave figure. Now on check box click/unclick a vertical line appears/disppears on figure. I wanwant to have handle of this line to slide it on the si
uicontrol('type','checkbox','string','plz tick','callback','{@dt,xm}'); Function H = dt(hObject,xm) H=line([xm xm] [-1 1]); ...

5 years ago | 0 answers | 0

0

answers