Feeds
已回答
Accessing array of structure datatype using simulink
Are you sure, the for iterator should be zero based? Matlab arrays are 1 based.
Accessing array of structure datatype using simulink
Are you sure, the for iterator should be zero based? Matlab arrays are 1 based.
5 years 前 | 0
已回答
Change bar graph color by sign
bar(B(B(:,2)>=0,1), B(B(:,2)>=0,2),'FaceColor','b') hold on bar(B(B(:,2)<0,1), B(B(:,2)<0,2),'FaceColor','r')
Change bar graph color by sign
bar(B(B(:,2)>=0,1), B(B(:,2)>=0,2),'FaceColor','b') hold on bar(B(B(:,2)<0,1), B(B(:,2)<0,2),'FaceColor','r')
5 years 前 | 0
| 已接受

