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

1 visualizzazione (ultimi 30 giorni)
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 Commenti
Walter Roberson
Walter Roberson il 13 Set 2019
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.

Accedi per commentare.

Risposte (1)

Walter Roberson
Walter Roberson il 13 Set 2019
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()

Categorie

Scopri di più su Interactive Control and Callbacks in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by