Info
이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.
Problem trying to graph, getting error unbalanced
조회 수: 1 (최근 30일)
이전 댓글 표시
This is my code. It was created by my professor and it is supposed to lead to a logarithmic graph of the class data listed, but i keep getting an 'unbalanced or unexpected parenthesis or bracket' error in line 37. Can someone please help me?
Class_YMod _Sample3 = [250000
0.176
7.5535
2
10.9
5.26
10.9
10.9
3.1
3
0.78
9
17.7066
17.7066
25.5
13
95
532.2889
1869
85703.54
85703.54
85703.54
85703.54
154.809
189450
176737
176737
164030
164030
157670
185583
124.617
301300
250
75353
75353
6969100]';
%===
% Added plotting from Willis.
%===
Class_YMod _Sample3 = sort(Class_YMod _Sample3);
figure
handle_a = semilogy(1:length(Class_YMod _Sample3), Class_YMod _Sample3,'ko')
set(handle_a, 'markersize',6,'markerfacecolor','y')
댓글 수: 0
답변 (1개)
per isakson
2015년 4월 2일
Works here after I replaced
Class_YMod _Sample3
by
Class_YMod_Sample3
댓글 수: 0
이 질문은 마감되었습니다.
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!