답변 있음
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...

5년 초과 전 | 답변 수: 1 | 0

1

답변