Please send me some feedback
creatingrf [@] gmail.com
~ Octave
~ Meep
~ MPB



Matlab vs Octave
Octave Intro
Toolbox Examples
Toolbox Download

calcBJTBiasBasic.m
calcCascadedNoise.m
calcMicrostripEL.m
calcMicrostripEre.m
calcMicrostripL.m
calcMicrostripMenu.m
calcMicrostripW.m
calcMicrostripZo.m
calcStabilityCircles.m
calcVSWRcircle.m
csv2mdf.m
db2r.m
dbm2watt.m
example1.m
example2.m
example3.m
example4.m
gamma2rl2vswr.m
gammaLoad2gammaIn.m
getFreqDistribution.m
getNextPlotStyle.m
getRandomColor.m
gtoz.m
importCsvColData.m
importCsvFolder.m
importS2P.m
listDir.m
loadMdf.m
materialProperties.m
plotStabilityCircles.m
ptor.m
r2db.m
rtop.m
saveMdf.m
scAddCircle.m
scAddLabels.m
scAddPoint.m
scCreate.m
singleFreqSparams.m
testStability.m
watt2dbm.m
ztog.m


Matlab Vs. Octave


Update(10/6/13)- Thank you everyone that provided input. Honestly, the previous version of this page was junk. It should be more accurate and helpful now.

Matlab and Octave are very similar, but they are not the same. In general, Octave is more forgiving and will understand a variety of syntax for the same purpose. 90% of scripts only require a few simple changes before they can be run in Octave or Matlab. Here are a few pointers......

Ending Loops -

Octave: end, (endif, endwhile, endfunction, ect...)
Matlab: end

In octave, loops can be ended with "end", or "end+loopname". A "for" statement can be ended with "endfor". A function can be ended with "endfunction". You get the picture. In Matlab, statements must be ended with "end".

Comments -

Matlab: %
Octave: %, #

Just use % to start comments and there won't be an issue.

Quotes -

Matlab: '
Octave: ', "

Matlab doesn't like it if strings and other stuff are defined with double quotes (").

Logical NOT -

Matlab: ~
Octave: ~, !

This could be found in logical statement. Matlab doesn't like if(!a)....

Print to a terminal -

Matlab: fprintf, printf
Octave: fprintf



Matlab has some functions only available in matlab and octave has some functions only available in octave. These proprietary functions are not common but if a matlab script includes such a function, it must be found and replaced. Luckily, if octave doesn't include a specific function, it usually has an alternative.

Octave forge provides an explaination of various differences between octave and matlab.




Questions/comments:
CREATINGRF [at] GMAIL.COM