help-octave
[Top][All Lists]
Advanced

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

Re: Skript takes in matlab 6s in Octave never ends


From: Nicholas Jankowski
Subject: Re: Skript takes in matlab 6s in Octave never ends
Date: Thu, 7 Mar 2019 16:41:55 -0500

On Thu, Mar 7, 2019 at 12:17 PM Martin Marmsoler <address@hidden> wrote:
Hello,

I have a script which I wrote in Matlab and tested it in Octave to, but there I saw that the program takes in Octave much longer than in Matlab R2018a. I have some matrix multiplications in some classes and a few loops but don't understand from where the duration difference come.

Here is the skript. If you change fA in line 37 in main.m to a lower value it is a little bit faster because not so many values were used.
In this configuration Matlab needs about 6s to plot the results. Octave is no more able to execute the script (after a few minutes I stoped the simulation).



You say it plots the results?  I can't access dropbox to view the script, but my first question is whether you have tried running it without plotting to see how long the calculation takes.  There have been several cases before where plotting can be severely slowed down for one reason or another. It would be informative if you could try running the script without plotting, or use tic and toc statements to output running time, etc., and report back results to the help list.

nickj

reply via email to

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