Is it possible to increase solving time ?

5 ビュー (過去 30 日間)
Nuh Metehan
Nuh Metehan 2014 年 3 月 5 日
回答済み: Karthik Karri 2014 年 3 月 5 日
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 ?

採用された回答

David Sanchez
David Sanchez 2014 年 3 月 5 日
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.

その他の回答 (2 件)

Nuh Metehan
Nuh Metehan 2014 年 3 月 5 日
I have uploaded the code but it is a little bit hard to understand
  1 件のコメント
Nuh Metehan
Nuh Metehan 2014 年 3 月 5 日
here it is

サインインしてコメントする。


Karthik Karri
Karthik Karri 2014 年 3 月 5 日
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.

カテゴリ

Help Center および File ExchangeCreating and Concatenating Matrices についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by