Find total operations matlab

1 回表示 (過去 30 日間)
Chayse Marmo
Chayse Marmo 2020 年 10 月 21 日
回答済み: Walter Roberson 2020 年 10 月 21 日
I need to find the total number of operatons performed in my code.
This is the code I have so far, kinda stuck on figuring out how many operations are present,
A=[2 3 1 -1;5 -2 5 -4;1 -2 3 -3;3 -8 -1 1];
B=[1;5;3;-1];
x=Gauss_Naive(A,B);
x1=x(1,1)
x2=x(2,1)
x3=x(3,1)
x4=x(4,1)

回答 (1 件)

Walter Roberson
Walter Roberson 2020 年 10 月 21 日
The above is the only way useful meaning can be assigned to "number of operations" for that code.

カテゴリ

Help Center および File ExchangeDenoising and Compression についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by