problem with workspace matlab 2020b

조회 수: 1 (최근 30일)
ataberk kaplica
ataberk kaplica 2020년 12월 5일
댓글: ataberk kaplica 2020년 12월 6일
I have a problem with workspace ı can not see variables while code is working perfectly also ı can not see any plotting

채택된 답변

Walter Roberson
Walter Roberson 2020년 12월 5일
The code you posted is a function. Local variables for a function disappear after the function returns; you would have to put in a breakpoint before the end of the function to see the local variables.
Your posted code does not plot anything.
  댓글 수: 3
Walter Roberson
Walter Roberson 2020년 12월 6일
x(i1)=(b(i1)-sumvalue)/a(i1,i1);
That is the only place in the code that you use lower-case x as a variable name.
semilogy(errorvector,"-ro",...
"LineWidth",2,...
"MarkedSize",10,...
"MarkedEdgeColor",
"b")
That needs a few changes:
semilogy(errorvector, "-ro",...
"LineWidth", 2,...
"MarkerSize", 10,...
"MarkerEdgeColor", "b")
ataberk kaplica
ataberk kaplica 2020년 12월 6일
thank you man ,I really appreciated you're support.

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 2-D and 3-D Plots에 대해 자세히 알아보기

태그

제품


릴리스

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by