Mathematica 9 is now available
Student Support Forum
-----
Student Support Forum: 'several If in one argument' topicStudent Support Forum > General > Archives > "several If in one argument"

Next Comment >Help | Reply To Topic
Author Comment/Response
Amin
07/14/12 11:52am

Hi,

I used to work with MATLAB but now shift to Mathematica.In MATLAB we can specify several conditions in just one If argument using "elseif" like this:

If (expr)

elseif
(expr1)

elseif
(expr2)
.
.
end

is it possible to do the same thing in Mathematica?

Thanks,
Amin.


URL: ,

Subject (listing for 'several If in one argument')
Author Date Posted
several If in one argument Amin 07/14/12 11:52am
Re: several If in one argument Bill Simpson 07/14/12 6:47pm
Re: several If in one argument yehuda ben-s... 07/15/12 4:50pm
Re: several If in one argument Michael 07/16/12 09:43am
Re: several If in one argument Amin 07/16/12 2:24pm
Next Comment >Help | Reply To Topic