help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Octave as a replacement for Excel


From: Francesco Cat
Subject: Re: Octave as a replacement for Excel
Date: Fri, 29 Aug 2008 16:10:17 +0200

If you are familiar with Matlab, vectorializing code means using
matrices instead of loops.

EG: if you have to divide each element of array A with the
corrisponding element of the array B you should write:

Result = A./B;  (note there is a dot before division)

instead of:

for i = 0:100
   Result(i) = A(i)/B(i)
endfor


Octave supports all the common commands of Matlab so if you find a
good guide to Matlab language you can learn to use Octave from it.
IMHO code is quite different from VB but it is easy to learn and it is
also easy (at least for me) coding something that does not need any
GUI. (EG: something that gets a CSV as input and prints csv and plots
as output).

2008/8/28 babelproofreader <address@hidden>:
>
> Bill,
>
> Thanks for your reply. Just one question, what do you mean by "appropriately
> vectorize your code"? Also, regarding code, I am quite proficient in VBA,
> but would this knowledge translate well to Octave's code language?
>
> Bill wrote:
>>Also, if you write the code to do the technical analysis indicators, we
> would very much appreciate if you could contribute it back into the
> financial toolbox.
>
> If Octave meets my needs I would be happy to contribute code back to the
> project.
>
> --
> View this message in context: 
> http://www.nabble.com/Octave-as-a-replacement-for-Excel-tp19188413p19201636.html
> Sent from the Octave - General mailing list archive at Nabble.com.
>
> _______________________________________________
> Help-octave mailing list
> address@hidden
> https://www-old.cae.wisc.edu/mailman/listinfo/help-octave
>


reply via email to

[Prev in Thread] Current Thread [Next in Thread]