Feeds
提问
shall I plot some figure to save without show?
I want to plot some figures by functions 'bar' and 'plot', but I don't want this figure being shown and just want to save it on ...
7 years 前 | 1 个回答 | 0
1
个回答提问
how shall I call 'aa.py' on Matlab2015b?
Now I have code a python script--'aa.py' as 'e:\aa.py'; I heard 'matlab2015' can call and execute '.py' file, but I don't kno...
8 years 前 | 0 个回答 | 0
0
个回答提问
shall I get a good algorithm for finding a optimal vector in matlab?
Know values: matrix(n x m)—— X,F and Delta; vector—-u; wanted value: vector—— w; restrictive condition: <</matlabcentra...
8 years 前 | 0 个回答 | 0
0
个回答提问
is 'arrayfun' faster much more than 'for' loop?
now I have written a function which use a 'for' loop and it runs slowly because of large calculations; If i use 'arrayfun' to r...
8 years 前 | 3 个回答 | 0
3
个回答提问
why I get "complex number" for the common calculation?
RSTR=sum(wt.*log(rt1./rft1)); 'wt', 'rt1' and 'rft1' are all real numbers and why 'RSTR' is complex numbers? Z=log( bsxfun...
8 years 前 | 2 个回答 | 0
2
个回答提问
how to get the same elements from many different vectors and each index for each vectors?
for example, now I have three vectors as below: v1=['a','b','c','d','e','f']; v2=['a','c','d','f','g']; v3=['c','d','e','j'...
8 years 前 | 1 个回答 | 0
1
个回答提问
how shall I replace "inline" function by anonymous function
if true myfunc=inline('beta(1)*x+beta(2)','beta','x'); [~,r]=nlinfit(x,y,myfunc,[1,1]); end I code as above ...
8 years 前 | 1 个回答 | 0
1
个回答已回答
which function can calculate standard deviation with weights?
thank you very much;
which function can calculate standard deviation with weights?
thank you very much;
8 years 前 | 0
提问
which function can calculate standard deviation with weights?
I know function "std" can get an array's standard deviation; but now I want to calculate standard deviation with certain weig...
8 years 前 | 2 个回答 | 0
2
个回答提问
how shall I read/write/add-write big data in MatLab?
I set big data in variable X and Now I want to save it on my hard disk; I use "save output X", and get warning: "out of memor...
8 years 前 | 2 个回答 | 0
2
个回答提问
how shalll I swith to different Axes in one figure?
figure; H1=axes; plot(x1,y1);(after that insert its legend on the figure) H2=axes; plot(x2,y2);(af...
8 years 前 | 1 个回答 | 0
1
个回答提问
Shall I get a better algorithm about mixture from some components?
Material 'A', 'B', 'C', 'D', 'E', 'F'.......... A is formed by x1--20%,x2--10%,x3--20%,x4--30%,others--20% B is formed by...
8 years 前 | 0 个回答 | 0
0
个回答提问
how to return two results by one output when using arrayfun()?
f=@(X) fun1(x); data=arrayfun(f,xgroup); about funtion 'fun1', now shall I return two result into the 'data' for one ele...
9 years 前 | 2 个回答 | 0
2
个回答提问
How shall I calculate the most drawback of trading capital by Matlab?
Now I have get my capital curve for many trading orders; I want to know the most drawback of this capital; I know I can get it ...
9 years 前 | 0 个回答 | 0
0
个回答提问
Shall I draw K lines and volumn bars in the same figure?
I plot K lines and volumn bars as below picture by subplot() as below: << <</matlabcentral/answers/uploaded_files/44177/un...
9 years 前 | 0 个回答 | 0
0
个回答提问
How to let figure adjust its 'y' axis' tick range by itself?
for example: x=[50 12 32 54 23 54 75 76 24 545 56 878 876 435 456 54 454 56 6 87 6 67 8 ]; Then plot(x),get below figure: ...
9 years 前 | 1 个回答 | 0
1
个回答提问
Shall I extract data from Matrix by group seperately?
Now I have a matrix as below: z = 1.0000 -7.6365 2.0000 1.7736 3.0000 -11.1412 4.0000 -10.1350 ...
9 years 前 | 1 个回答 | 0
1
个回答提问
what is the meaning of plus in boxplot produced by ANONA1?
I run 'anova1(x)' and get the below plot: <</matlabcentral/answers/uploaded_files/42812/untitled.jpg>> I don't know what t...
9 years 前 | 1 个回答 | 0
1
个回答提问
How shall I confirm the significance of week days' Up-Downs for some stock?
I survey on the ups and downs of one stock in the past 3000 trading days and sort them by week day: Monday (ups53%, 0.53-0.5=0.0...
9 years 前 | 1 个回答 | 0
1
个回答提问
Shall I get weeks' K line of some stock according to its day's data?
Now I have days' data as below form: date(1:10),[open(1:10),high(1:10),low(1:10),close(1:10)] ans = '2015/05/04' ...
9 years 前 | 0 个回答 | 0
0
个回答提问
Shall I get some advice about building a strategy tester by Matlab?
I want to build a strategy tester by Matlab to test some strategy on stocks; I hope this tester can test any strategy on Matl...
9 years 前 | 0 个回答 | 0
0
个回答提问
how to show more data by uitable?
When I display data by uitable; I get the table as below: <</matlabcentral/answers/uploaded_files/42358/untitled.jpg>> ...
9 years 前 | 1 个回答 | 0
1
个回答提问
shall I use 'plotyy' to plot two curves from the same starting point?
I use plotyy to plot as below picture: <</matlabcentral/answers/uploaded_files/42353/Picture1.png>> Just you see, the red ...
9 years 前 | 1 个回答 | 0
1
个回答提问
how to arrange an array elemets to unique pairs?
for example, X={'a1', 'b2', 'c3', 'd4'}; I want to rearrange X as below: A={'a1'; 'a1'; 'a1'; 'b2';'b2'; 'c3' } B={'b2'; '...
9 years 前 | 2 个回答 | 0
2
个回答提问
How to delete elements which in cell?
Now I have DataA and DataB as below: DataA = {5x1 cell} [5x1 double] DataB = {5x1 cell} [5x1 do...
9 years 前 | 1 个回答 | 0
1
个回答提问
How to transfer dates' data of stock into weeks' data by Matlab?
I mean I have get data of some stock, by which I can use "candle" to plot date K lines; Now I want to plot week K lines by it...
9 years 前 | 0 个回答 | 0
0
个回答提问
how to change charactors of the table which is made by uitable by codes
I use the below code to get a table as below: f=figure('Position',[0 60 130+C*80,30+R*20]); t=uitable(f,'Data',Cdata,.....
9 years 前 | 1 个回答 | 0
1
个回答提问
how to do this calculation not by 'for' cycle?
I have the below data: data =[... 1.0000 1.0000 1.0000 53.1100;... 1.0000 2.0000 2.0000 59.0900;....
9 years 前 | 2 个回答 | 0
2
个回答提问
Shall I get a fitting function by Matlab according to two matrix
Now I have two mat 'X' and 'Y'; And I can get correlation of 'X' and 'Y' by function [R,P]=corrcoef(X,Y); I can do it as bel...
9 years 前 | 0 个回答 | 0
0
个回答提问
a question about function -- uigetfile()
the code [FileName PathName]=uigetfile(('*.xlsx'), 'Choose a File'); runs Ok; but the code [FileName PathName]=uigetf...
9 years 前 | 1 个回答 | 0