Community Profile

photo

Sara


Active since 2012

Statistics

  • Thankful Level 1

View badges

Content Feed

View by

Question


optimize code in running time
Hi, is there any suggestion that how can I optimize the code in running time below. Thanks in advance lenx=length(x); ...

11 years ago | 0 answers | 0

0

answers

Question


array operations consuming lower time
Hi, we have an array x, I would like to do such a operation on it. It can be possible to implement it another way that consumes...

11 years ago | 2 answers | 0

2

answers

Question


solving equation in matlab
Hi. I want to find the l and mu , by the code below. I have linked the image that indicates l and mu how they used in equatio...

11 years ago | 0 answers | 0

0

answers

Question


Integrals function computing accelerating
Hi Guys , - trapz - cumtrapz function int = Fcn_integ(x,k,dt) x ... Signal to integration k ... Numb...

11 years ago | 1 answer | 0

1

answer

Question


optimize code regarding for loop
Hallo : if k <= 0 int = x ; return end int = zeros(1,length(x)); c=(k-1)/fa...

11 years ago | 0 answers | 0

0

answers

Question


accelerating code , scalar operations
Hi Guys, if k <= 0 int = x ; return end int = zeros(1,length(x)); c=(k-1)/factorial(k-1); dth2=...

11 years ago | 0 answers | 0

0

answers

Question


accelerating code in matlab - for loop
Hi Guys, int = zeros(1,length(x)); if k <= 0 int = x ; return end for n = 3:lengt...

11 years ago | 2 answers | 0

2

answers

Question


redefine array in for loop
Hi Guys, for n = 3:length(x) y1 = x(2:n) ; t1 = ((n-2):-1:0)*dt ; % y2 = x(1:n-1) ; y2 = y1 -...

11 years ago | 1 answer | 0

1

answer

Question


simplyfing computations in arrays
int = zeros(1,length(x)); for n = 3:length(x) y1 = x(2:n) ; t1 = n*dt - (2*dt:dt:n*dt) ; y2 = x(1:n-1)...

11 years ago | 2 answers | 0

2

answers

Question


SYNTAX MATLAB
y1 = x(2:n) ; t1 = n*dt - (2*dt:dt:n*dt) could anyone tell me what is the meaning of the these commands? The syntax of...

12 years ago | 1 answer | 0

1

answer

Question


for loop another way to implement it
Is there any way to replace using for loop here by another way to do the desired? x = zeros(length(v0),2)...

12 years ago | 0 answers | 0

0

answers

Question


Index exceeds matrix dimensions.
for the code below I received the error index exceeds.. I do not know how can I fix it. x = zeros( 2,length(v0) ) ; ...

12 years ago | 1 answer | 0

1

answer