| Author |
Comment/Response |
tosbaga
|
03/18/11 4:23pm
In MATLAB a function is writen as
[output1,output2]=f(input1,input2)
output1=2*input1;
output2=3+input2;
end
in a program you can call function "f" as
...
[x,y]=f(a,b)
...
In MATHEMATICA a user-defined function is
f[input1,input2]
how can I assign the outputs of a user-defined function to a variables as shown in above.
URL: , |
|