Search All of the Math Forum:

Views expressed in these public forums are not endorsed by NCTM or The Math Forum.

Notice: We are no longer accepting new posts, but the forums will continue to be readable.

Topic: Cell Syntax Quiz
Replies: 6   Last Post: Jan 11, 2013 8:28 PM

 Messages: [ Previous | Next ]
 Greg Heath Posts: 6,387 Registered: 12/7/04
Re: Cell Syntax Quiz
Posted: Jan 11, 2013 8:28 PM

dpb <none@non.net> wrote in message <kcp81t\$a5o\$1@speranza.aioe.org>...
> On 1/11/2013 2:28 AM, Greg Heath wrote:
> > % CELL SYNTAX QUIZ
> >
> > close all, clc
> >
> > % For each expression
> > % 1. Write the command line response
> > % 2. Cut and paste the expression into the command line
> > % 3. Award yourself 6 points for each correct answer
> > % 4. Add 5 extra points if the expression is one of the last 2
> >
> > A{1,1} = [1 2 ]
> > A{2,2} = [ 5 6 ]
> > A{2,1} = 4 A{1,2} = 3
> > A{ : }
> > A{ : , : }
> > A{ : , : , : }
> > isequal( A{ : } , A{ : , : } )
> >
> > B0 = A
> > isequal(A,B0)
> > B1 = A{:} B2 = A{:, :}
> > isequal( B1 , B2 )
> >
> > whos
> > cell2mat(B0)
> >

>
> Yeah, my old eyes can't easily tell {} from () so it's a crapshoot to
> try... :)

Join the club!!

I have Windoze 7 and rely heavily on control +

However, it does not work in the MATLAB environment.

Greg

Date Subject Author
1/11/13 Greg Heath
1/11/13 dpb
1/11/13 Steven Lord
1/11/13 dpb
1/11/13 Greg Heath
1/11/13 Bruno Luong
1/11/13 dpb