Matlab

Thread Starter

braddy

Joined Dec 29, 2004
83
Hi,

I have a question regarding matlab exercise:

Given the following sequence of commands:
color=['r','b','g','k']; c=menu('Choose a color','r','b','g','k');

What should the user enter at the keyboard in order to select the color black?

This is the question.
Please can someon help me on this?

Thankx

braddy
 

Brandon

Joined Dec 14, 2004
306
Originally posted by braddy@Feb 28 2005, 11:08 PM
Hi,

I have a question regarding matlab exercise:

Given the following sequence of commands:
color=['r','b','g','k']; c=menu('Choose a color','r','b','g','k');

What should the user enter at the keyboard in order to select the color black?

This is the question.
Please can someon help me on this?

Thankx

braddy
[post=5729]Quoted post[/post]​
When you do that command, you get a dialog window that gives you 4 buttons to choose from. R, B, G, K. There is nothing to enter on the keyboard. Just point and click.
 
Top