Mathematica 9 is now available
Student Support Forum
-----
Student Support Forum: 'super easy question (i think)' topicStudent Support Forum > General > "super easy question (i think)"

Next Comment >Help | Reply To Topic
Author Comment/Response
newb
05/05/12 4:52pm

a[x_] := If[x < 0, -x]
a /@ {-1, 0, 1}

ok here is my function!

and here is my output {1, Null, Null}

I dont want the null in there. this output --> {1} would be perfect. how do I do this?

URL: ,

Subject (listing for 'super easy question (i think)')
Author Date Posted
super easy question (i think) newb 05/05/12 4:52pm
Re: super easy question (i think) Bill Simpson 05/06/12 7:59pm
Re: super easy question (i think) toen 05/07/12 03:32am
Next Comment >Help | Reply To Topic