Info

この質問は閉じられています。 編集または回答するには再度開いてください。

Problem trying to graph, getting error unbalanced

1 回表示 (過去 30 日間)
jess ferguson
jess ferguson 2015 年 4 月 2 日
閉鎖済み: MATLAB Answer Bot 2021 年 8 月 20 日
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')

回答 (1 件)

per isakson
per isakson 2015 年 4 月 2 日
Works here after I replaced
Class_YMod _Sample3
by
Class_YMod_Sample3

この質問は閉じられています。

Community Treasure Hunt

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

Start Hunting!

Translated by