回答済み
how to have the same plot area size when some axis names become 2 lines
Ok having two lines in the axis name does the job, thanks

5年弱 前 | 0

質問


how to have the same plot area size when some axis names become 2 lines
I am generating plots with different axis names, and when long names become 2 lines they make the plot area smaller, but I need ...

5年弱 前 | 3 件の回答 | 0

3

回答

質問


optimizing for loop that is been called often
can this loop be optimized? It is called 1m times and is the only thing I couldn't optimize yet. Oper_year=1:1:Lifetime; [co...

5年弱 前 | 1 件の回答 | 0

1

回答

質問


5 equations with 5 unknowns
this is the code, and it says: Undefined function or variable 'Rp'. Vmp=0.57 Voc=0.66 Isc=0.0067 Imp=0.0062 k=1.38e-23 q=1...

5年弱 前 | 1 件の回答 | 0

1

回答

質問


sfit data array output
Hi, I have this: SS_fit_Xs=fit(Wave_length,real_Solar_spectrum,'poly9'); then I can plot it so easily like this: plot(SS_fit_...

約5年 前 | 1 件の回答 | 0

1

回答

質問


how to change axis of a matix?
my matrix is M(x,y,z) where: x=1:90 y=1:3:120 z=1:40 and c=y./z and I need to convert M into N(x,c). Any ideas?

約5年 前 | 2 件の回答 | 0

2

回答

質問


Error using accumarray First input SUBS must contain positive integer subscripts.
I am very much troubled solving this: >> [X, Y, Z]=ndgrid(x,y,z); >> C = round(ceil(Y./Z)); >> N = accumarray([X(:), C(:)],...

約5年 前 | 2 件の回答 | 0

2

回答

回答済み
how to assign data to axis vol3d
I have figured out myself, yeahh :) vol3d('cdata',interp3(year,3),'xdata',per,'ydata',day,'zdata',hour,'texture','3d');

約5年 前 | 0

| 採用済み

質問


how to assign data to axis vol3d
I am plotting year(per,day,hour) using this line: vol3d('cdata',interp3(year,3),'texture','3d'); can you show me how to assign...

約5年 前 | 1 件の回答 | 0

1

回答

回答済み
reading a workspace value inside a function
the solution was the momoizefun, look for details above.

5年以上 前 | 0

| 採用済み

質問


plotting multiple surfaces out of a 3d variable
I have a matrix G(X,Y,Z) that I try to plot as surface for each value of X in the same plot , manually I could do a line of a co...

5年以上 前 | 1 件の回答 | 0

1

回答

質問


4D matrix manipulation
I have a 4D matrix G size of [k*j*i*l] so its G(k,j,i,l) , the sizes are: k=1x365, j=1x31, i=1x24, l=1x91. For estimat...

5年以上 前 | 1 件の回答 | 0

1

回答

回答済み
decrease the elapse time
appointing to 'simple' and 'int16' made huge difference

5年以上 前 | 0

| 採用済み

質問


decrease the elapse time
this set of files organized to solve 'environment' function with ranges of different variables. I followed all possible instruct...

5年以上 前 | 3 件の回答 | 0

3

回答

質問


how to preallocate a variables
How do I preallocate variable in this code, when they are inside different functions? Thanks In general it looks like this: Sc...

5年以上 前 | 1 件の回答 | 0

1

回答

質問


make the for loop run faster
I would appreciate any help to optimize this code since it runs 86400x365x19x37 times: for ii = 1 : length(time) if time(ii)<=...

5年以上 前 | 1 件の回答 | 0

1

回答

質問


reading a workspace value inside a function
I used xlsread in a function. now I have another function that uses this function, and that function is used by a script. So xls...

5年以上 前 | 1 件の回答 | 0

1

回答

回答済み
sum matrix column to get another matrix
thanks

5年以上 前 | 0

質問


sum matrix column to get another matrix
I have a matrix G 1441x365x91(MxNxL), I need another matrix D 1441x91 (MxL), whereby N must be summed. Shortly its a 1441x91 dat...

5年以上 前 | 2 件の回答 | 0

2

回答

質問


getting Complex double in matlab while excel solves it
I had this formula in excel few years ago with less variation of WL, but now want to have a bigger range and put it into matlab ...

5年以上 前 | 1 件の回答 | 0

1

回答

回答済み
how to run function for several times with different variables
I just saved the loop for each variable. a=5 b=8 c=9 d=11 %a,b,c and d are function inputs n=a*0.1:a*0.1:a for i=1:length...

5年以上 前 | 0

質問


how to run function for several times with different variables
I have something like this: a=5 b=8 c=9 d=11 %a,b,c and d are function inputs n=a*0.1:a*0.1:a for i=1:length(n) "functio...

5年以上 前 | 2 件の回答 | 0

2

回答

質問


code is running too long, help me to optimize it
I have written a code, it runs slow. I don't know if it is because of the code or just it should take so long because of the num...

6年弱 前 | 1 件の回答 | 0

1

回答