want to display output in the form of texts in neural network.pls help

1 次查看(过去 30 天)
my project is classifying audio signals as normal, jaundice or apnea ailment baby cry signals. i have constructed neural network using matlab. my inputs are MFCCs and target is [1 20 40]. i have assigned number 1 for normal, 20 for jaundice and 40 for Apnea. its giving me proper output. my problem is i want to display output in form of text that in which category its falling. how can i do this? because it is all GUI and output is shown in 'network_output' section.please help

采纳的回答

Image Analyst
Image Analyst 2015-6-7
You can make an edit text control on your figure. Make sure the max value is 2 so you can have multi-line texts. Then make up your strings with fprintf() and then send the string to the control with set(). Something like
message = 'Your data is below';
for row = 1 : rows
message = sprintf('%s\n%d', message, data(row));
end
set(handles.edittext1, 'string', message);
  2 个评论
pranjal
pranjal 2015-6-7
thank u sir. but where is the original code located. i cannot find it to append above code to that.
Image Analyst
Image Analyst 2015-6-7
What original code? All my original code is there. It answers your very specific question: "my problem is i want to display output in form of text that in which category its falling. how can i do this?" You did not ask for a turnkey NN system that will do classification for you (which most likely no one would give you anyway), you simply asked how to display output as text , so that is what I gave you.

请先登录,再进行评论。

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Sequence and Numeric Feature Data Workflows 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by