MATLAB Answers

0

Is it possible to increase solving time ?

Asked by Nuh Metehan on 5 Mar 2014
Latest activity Answered by Karthik Karri on 5 Mar 2014
I am doing nowadays a project in which there are many matrix calculations etc. therefore the solving time is relative long ?
Is it possible to decrease solving time by doing sth ? increasing ram usage or anything else ?

  0 Comments

Sign in to comment.

3 Answers

Answer by David Sanchez
on 5 Mar 2014
 Accepted Answer

The time taken by your code depends on the way you coded the algorithm. Using built-in function might improve the performance. If you pasted samples of your algorithm would help in providing more specific advises.

  0 Comments

Sign in to comment.


Answer by Nuh Metehan on 5 Mar 2014

I have uploaded the code but it is a little bit hard to understand

  1 Comment

Sign in to comment.


Answer by Karthik Karri on 5 Mar 2014

The time taken depends upon the number of loops used in the code. Try to decrease the number of loops in the code. so if you doing any calculation element wise, try to avoid it and instead consider it as a set of 1D arrays . This is more generalized answer but it will depend on the objective of your code.

  0 Comments

Sign in to comment.