Community Profile

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...

5년 초과 전 | 답변 수: 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); ...

5년 초과 전 | 답변 수: 1 | 0

1

답변