From: Robin on
"Steven Lord" <slord(a)mathworks.com> wrote in message <hfr4pn$p0b$1(a)fred.mathworks.com>...
>
> "Robin " <robin.de.silva(a)iav.de> wrote in message
> news:hfr1ho$g38$1(a)fred.mathworks.com...
> > "kinor " <kinor.removethiswithdot(a)gmx.de> wrote in message
> > <hfqu15$orh$1(a)fred.mathworks.com>...
> >> "Robin " <robin.de.silva(a)iav.de> wrote in message
> >> <hfqido$fg2$1(a)fred.mathworks.com>...
> >> > Hello,
> >> >
> >> > i try to create a n-D-Lookup table (3x3x2), but i don?t know how to
> >> > write the "Table data".
> >> >
> >> > "row": [1,2,3]
> >> > "column":[4,5,6]
> >> > "third input": [7,8]
> >> >
> >> > and the "table data"?
> >> > I try the following: [0 0 0; 0 0 0; 0 0 0], [0 0 0; 0 0 0; 0 0 0], but
> >> > the matlab error: "Unbalanced or unexpected parenthesis or bracket"
> >> > appeared.
> >> >
> >> > Would be nice if anyone could help me!
> >> >
> >> > THX
> >>
> >> Hi Robin,
> >>
> >> you did not post the whole assignment, the one above works and is useless
> >> because for every position you get the value 0.
> >>
> >> you can set up the lut slice by slice and then combine alle slices with
> >> the cat command.
> >>
> >> hth
> >> kinor
> >
> > Hello Kinor!
> >
> > THX for the fast reply!
> > I`ve tried several table data contents like
> > [1 2 3; 4 5 6; 7 8 9], [10 11 12; 13 14 15; 16 17 18],
> >
> > but always an error appeared.
> >
> > Maybe i`ve made some syntax error? How would youcreate a table data in a
> > 3x3x2-Lookup table?
>
> You can enter a MATLAB expression in that parameter's entry box.
>
> cat(3, [1 2 3;4 5 6;7 8 9], [10 11 12; 13 14 15; 16 17 18])
>
> Or I believe you could create an N-D array in MATLAB and specify the name of
> that variable in that entry box.
>
> --
> Steve Lord
> slord(a)mathworks.com
> comp.soft-sys.matlab (CSSM) FAQ: http://matlabwiki.mathworks.com/MATLAB_FAQ
>
THX. That works!!!