Feeds
回答済み
Bar plot with multidimensional matrix-->columns of different color
[n,x]=hist(Collectb,5); for a=1:8 mn(:,a)=n(:,a)/sum(n(:,a)); end bar(x,mn,'hist'); Fixed it.
Bar plot with multidimensional matrix-->columns of different color
[n,x]=hist(Collectb,5); for a=1:8 mn(:,a)=n(:,a)/sum(n(:,a)); end bar(x,mn,'hist'); Fixed it.
約12年 前 | 0
回答済み
How to find local maxima in plot(X,Y)?
I've found this peakdet.m script to be useful: http://www.billauer.co.il/peakdet.html
How to find local maxima in plot(X,Y)?
I've found this peakdet.m script to be useful: http://www.billauer.co.il/peakdet.html
約12年 前 | 2
| 採用済み
質問
Bar plot with multidimensional matrix-->columns of different color
trial_type={'apples' 'oranges' 'banana' 'pears'}; for choice=1:4 trial_type_current = trial_type{1,choice}; ...
約12年 前 | 1 件の回答 | 0
1
回答質問
Stretch peak to peak y-values to plot
figure(1) x =[0 pi/2 pi 3*pi/2 2*pi 5*pi/2 3*pi]; y = [0 1 0 -1 0 1 0]; bcs = csapi(x,y); xx=linspace(0,3*pi,1000)...
12年以上 前 | 0 件の回答 | 0
0
回答質問
Smoothing piecewise sin functions
I wrote a function that pieces together two different sine functions. The positive curves are always sin(x) but the negative cur...
12年以上 前 | 2 件の回答 | 0
2
回答回答済み
I am trying to calculate mean of all the columns in my matrix. Help me please?
>> a=[1 2 3; 1 2 3] a = 1 2 3 1 2 3 >> mean(a,1) ans = 1 ...
I am trying to calculate mean of all the columns in my matrix. Help me please?
>> a=[1 2 3; 1 2 3] a = 1 2 3 1 2 3 >> mean(a,1) ans = 1 ...
12年以上 前 | 0
| 採用済み
質問
Series of subplots that are continuous through multiple figures
nrows = 8; ncols = 5; currentPlot = 1; for i = 1:size(input,1) subplot(nrows, ncols, currentPlot);...
12年以上 前 | 1 件の回答 | 0


