gistlib
You can write a function in Matlab by following these steps:
main.mfunction [output] = function_a(r, c) output = 1/sqrt(1-r^2)^2 + 4 * (c^2) * r^2; end 89 chars4 lines
function [output] = function_a(r, c) output = 1/sqrt(1-r^2)^2 + 4 * (c^2) * r^2; end
Now you can call this function in your main program or script with the required input arguments to get the output of a.
a
gistlibby LogSnag