Community Profile

photo

m m


Last seen: etwa 2 Monate vor Aktiv seit 2019

Followers: 0   Following: 0

Statistiken

  • Thankful Level 3
  • First Answer

Abzeichen anzeigen

Feeds

Anzeigen nach

Frage


repeated condition in a for loop
N = 50000000; f = 1E6; DT = 1E-4; for L = 1:N T = DT*double(L); % period a = 0.1; b =40*T; i want to add this conditi...

11 Monate vor | 1 Antwort | 0

1

Antwort

Frage


Manually from c++ to matlab how?
i would like to convert this example class from cpp to matlab language bool EXampleC(double *x, double *B) { int A = domain....

mehr als 3 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


How to calculate ERROR for DIRECT METHOD in MATLAB
i want to calculate error for the direct methods such as the Thomas algorithm used for the tridiagonal matrix.?

mehr als 3 Jahre vor | 0 Antworten | 0

0

Antworten

Frage


how to convert Fotran format statment in matlab?
i want to convert this Fortan statment in matlab? FORMAT(1001E15.6)

etwa 4 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Time averaged values for each 100 iteration
i want to calculate the time averged value for each 100 iteration. knowing that my program is like this : for m = 1:20000 %t...

mehr als 4 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


Calculate the time-averaged value every 10 iterations
Hi, I do the calculation of X (k) 1000x1 in a time loop for t = 1: 10000 (note that X does not have an iteration t) and I want ...

mehr als 4 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Store only 4 value from a loop
Hello, i have two loops as : nt = 15; n=2; for t = 1 : nt for i = 1 : n x(i) = .... end end ...

mehr als 4 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


How to convert script from fortran90 to matlab language
Can anyone help me to covert this script Thank you DIMENSION KB(10) KA(10) KL=0 KS=1 DO 210 K=1,N0 ...

mehr als 4 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Solve a linar system A*x=b with function
Hi Can i use function to solve a linear system A*x=b ,knowin g that A has a tridiagonal form with a variables coefficients (n...

mehr als 4 Jahre vor | 0 Antworten | 0

0

Antworten

Frage


How to use result in each iteration in a for loop and then use it in next loop?
how can i use the result of the first iteration in other For loop?

fast 5 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


Thomas algorithm tridiagonal matrix
Hi, how to solve a tridiagonal system by the thomas algorithm with 3 equations (each equation has a tridiagonal system) .. the ...

fast 5 Jahre vor | 0 Antworten | 0

0

Antworten

Frage


How to impliment a covergence condition?
Hi, How can i impliment a convergence condition in a loop. (the condition is A(k,i)-A(k+1,i)<=0.0001) and with another cond...

fast 5 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Several loops in Matlab
Hi, Can matlab calculate only the first iteration (i=1) of the loop1 and get out of the loop to compute the first iteration fo...

fast 5 Jahre vor | 1 Antwort | 0

1

Antwort

Beantwortet
how can i use several loops
How can i do only the first iteration in the first loop, then pass to second loop and do the first iteration. is it possible?

fast 5 Jahre vor | 0

Frage


how can i use several loops
Hi, Can anyone explain to me how matlab read this loops for k=1:nt-1 for i=1:nx end (for i) for i=nx:1 en...

fast 5 Jahre vor | 3 Antworten | 0

3

Antworten

Frage


Solve tridiagonal matrix system by thomas algorithm
hi im trying to solve tridiagonal matrix system by thomas algorithm. my question is: it's obligatory to define the matrix ele...

fast 5 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Defining a variable in specific nodes
Hi, I need to define a variable B(j)) in the 1/2 3/2 5/2.... . e.g i have the variables A(i) and B(j). So the loops are( f...

fast 5 Jahre vor | 0 Antworten | 0

0

Antworten

Beantwortet
Simple array step sizing.
Hi, I need to define a variable B(j)) in the half step. e.g i have the variables A(i) and B(j). So the loops are( for i =2:N a...

fast 5 Jahre vor | 0