Community Profile

# m m

##### Last seen: 1 month ago
15 total contributions since 2019

View details...

Contributions in
View by

Question

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

2 months ago | 1 answer | 0

### 1

Question

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

3 months ago | 2 answers | 0

### 2

Question

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

4 months ago | 1 answer | 0

### 1

Question

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

5 months ago | 1 answer | 0

### 1

Question

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

5 months ago | 1 answer | 0

### 1

Question

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

8 months ago | 0 answers | 0

### 0

Question

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?

10 months ago | 2 answers | 0

### 2

Question

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

11 months ago | 0 answers | 0

### 0

Question

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

11 months ago | 1 answer | 0

### 1

Question

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

11 months ago | 1 answer | 0

### 1

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?

11 months ago | 0

Question

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

11 months ago | 3 answers | 0

### 3

Question

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

11 months ago | 1 answer | 0

### 1

Question

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

11 months ago | 0 answers | 0