# ARGH Matlab trouble

by faust9
Tags: argh, matlab, trouble
 P: 105 If you haven't already figured it out, there's nothing much to an .m file. Since i do not warez matlab, i'm using vim (a text editor) and octave. Basically what goes in a .m file is something like this function returnValue = f(x) returnValue = 2*x^2 + 3*x+2 end format long %for displaying more digits result1 = f(4) results = zeros(1,10); %creates a vector full of zeros, 10 big results(1) = f(6); results(5) = f(24);