Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

graphical user interface in matlab

Status
Not open for further replies.

anupama385

Newbie level 5
Joined
Mar 2, 2011
Messages
8
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Location
Germany
Activity points
1,325
I am creating a gui in matlab. How to implement a high pass filter in it?

Can anyone please help me?
 

write the filtering codes or call the relevant function inside the gui code. if you can be more specific we can be more helpful.
 

write the filtering codes or call the relevant function inside the gui code. if you can be more specific we can be more helpful.

I have 3 kinds of files to be read csv, dat and txt file. The data is read and displayed on the axes in gui. But due to some noise, it is not much clear. I have been told to implement a high pass filter so that some noise can be removed. It then plots spectrogram.

Hope I am clear :)
 

you can add another button to your gui that filters your data. or you can add filtering to your existing code.
if you add button, it filters the data and plots its spectrogram. you can make this code inside the button's code section.
 

Thanks for the idea :)
Do you have any idea how the filtering code should be....?
 

you can use matlab's filter design tool. it is very useful.
 

Can you just tell me more about it...I mean to say the codes or some other solutions....
 

hello, We are trying to make a GUI for our project where in we have to read the string from the editbox and store it in the listbox and also create a matrix. but the code is not working properly. can anyone please help???

Code:
 value2 =get(handles.name, 'string');
if isempty(value2)
     set(handles.text1,'string','ERROR:TRYING TO ADD EMPTY STRING');
     set(handles.text2,'string','  ');
 else
    prev_str={get(handles.listbox1,'string')};
    new_str={get(handles.name,'string')};
    set(handles.listbox1,'string',new_str);
   set(handles.listbox1,'value',length(new_str));
    val=get(handles.listbox1,'value');
    display(val)
    name_list=get(handles.listbox1,'string');
    display(name_list)
    nam=char(name_list);
    display(nam)
    selected_name= {nam(val)};
    display(selected_name);
     selected_name=cellstr(A);
    display(selected_name)
    voice_print_cell{1}=0;
    significant_features=0;
    count=0;
    set(handles.text1,'string',['user' selected_name 'ADDED AND SAVED']);
    set(handles.text2,'string','  ');
    save(cell2mat(selected_name),'voice_print_cell','count','significant_features');
    guidata(hObject,handles);
 end
 
Last edited by a moderator:

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top