MATLAB Answers

0

How to show conditions (pop out search vs conjunction search with four levels (set size= 4,8, 12,16)

Asked by Delaney Pierson on 13 Sep 2019 at 17:58
Latest activity Commented on by Rena Berman about 6 hours ago
Attempting to do project 6.4 in Matlab for Neuroscientist but do not understand how to write a code to show these two conditions. This is from chapter 6 in the book.

  4 Comments

Show 1 older comment
I highly doubt anyone will read a chapter in order to answer a question (especially when reading from a series of images). It will be more helpful to us and, more importantly, to you, if you frame a self-contained question that focuses on where you're stuck.
Framing a detailed question that makes clear what kind of data you're working with, what you've tried, why it's not working, and where exactly you're stuck, is an exercise that will help the questioner tramendously.
Here are more tips on getting help in this forum:
I deleted the copyrighted material. Access to the book is sold chapter by chapter, so it is not plausible to think that the authors wished to make a chapter available for free.

Sign in to comment.

1 Answer

Answer by Walter Roberson
on 13 Sep 2019 at 19:37

You can use questdlg() or menu() to get the user to select between discrete choices.
Or you can use uicontrol('style', 'popup') or uicontrol('style', 'listbox') along with setting Callback properties for those to detect when the user has made a choice. As a beginner, GUIDE can help with that (though GUIDE has a lot of limitations.)
Or you can use the newer App Designer along with uilistbox() or uidropdown()

  0 Comments

Sign in to comment.