photo

Nur Syafawani Mat Syet


2018 年からアクティブ

Followers: 0   Following: 0

統計

Feeds

表示方法

質問


i just one pushbutton for calculate but i cant display. help me :'(
% --- Executes on button press in Calculate. function Calculate_Callback(hObject, eventdata, handles) % hObject handle to C...

約6年 前 | 1 件の回答 | 0

1

回答

質問


Help me to fix it because the error said Attempted to access xnew(2); index out of bounds because numel(xnew)=1. Error in jacobi (line 22) err = norm(xnew(i)-x(i),Inf)/norm(xnew(i),Inf);
a = [1, 0, -1; -1/2, 1, -1/4;1, -1/2, 1]; b = [0.2; -1.425; 2]; n = length(b); x = zeros(n,1); xnew = zeros(n,1); ...

6年以上 前 | 1 件の回答 | 0

1

回答