photo

vx2008


university

Aktiv seit 2013

Followers: 0   Following: 0

Nachricht

Statistik

  • Thankful Level 3

Abzeichen anzeigen

Feeds

Anzeigen nach

Frage


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 ...

mehr als 7 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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...

fast 8 Jahre vor | 0 Antworten | 0

0

Antworten

Frage


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...

fast 8 Jahre vor | 0 Antworten | 0

0

Antworten

Frage


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...

fast 8 Jahre vor | 3 Antworten | 0

3

Antworten

Frage


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...

fast 8 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


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'...

fast 8 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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 ...

fast 8 Jahre vor | 1 Antwort | 0

1

Antwort

Beantwortet
which function can calculate standard deviation with weights?
thank you very much;

fast 8 Jahre vor | 0

Frage


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...

fast 8 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


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...

fast 8 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


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...

mehr als 8 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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...

mehr als 8 Jahre vor | 0 Antworten | 0

0

Antworten

Frage


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...

fast 9 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


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 ...

fast 9 Jahre vor | 0 Antworten | 0

0

Antworten

Frage


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...

fast 9 Jahre vor | 0 Antworten | 0

0

Antworten

Frage


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: ...

fast 9 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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 ...

fast 9 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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...

fast 9 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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...

fast 9 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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' ...

fast 9 Jahre vor | 0 Antworten | 0

0

Antworten

Frage


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...

fast 9 Jahre vor | 0 Antworten | 0

0

Antworten

Frage


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>> ...

fast 9 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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 ...

fast 9 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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'; '...

fast 9 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


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...

fast 9 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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...

fast 9 Jahre vor | 0 Antworten | 0

0

Antworten

Frage


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,.....

fast 9 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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;....

fast 9 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


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...

fast 9 Jahre vor | 0 Antworten | 0

0

Antworten

Frage


a question about function -- uigetfile()
the code [FileName PathName]=uigetfile(('*.xlsx'), 'Choose a File'); runs Ok; but the code [FileName PathName]=uigetf...

fast 9 Jahre vor | 1 Antwort | 0

1

Antwort

Mehr laden