Community Profile

# vaya putra

##### Last seen: 8 days ago
38 total contributions since 2017

View details...

Contributions in
View by

Question

how to write loop for in for
i have problem during the looping i read "output.vtu" the condition how to store is every km max is 100 that is why i write t...

6 months ago | 1 answer | 0

### 1

Question

how to write correct looping
hi all i want to read file and which is some condition for data 1-100 is read properly but i am confused why is the value in ...

6 months ago | 1 answer | 0

### 1

Question

i have matrix 25x25, i need reflaction matrix from line no 2 to 25 i was looking at using fliplr but i have a problem, A=rand...

1 year ago | 1 answer | 0

### 1

Question

Read .txt and Write in matab
Hi i have 30000 thousand line of input file in text file, but i only need line 2618-3400. imposible if i have to write manual ...

1 year ago | 2 answers | 0

### 2

Question

how to import matrix using load
hi i want to write in "vtu file" i have some data point and pressure first of all i write point in matrix (30603x6)in vtu us...

1 year ago | 1 answer | 1

### 1

Question

how to make loop in
i want to extract matrix total data 25 array %km = 72x1 (matrix) for x=1:25 cx = Km(x,1)+Km(x+1,1)+Km(x+6,1)+Km(x+7,1)+Km(x+...

1 year ago | 1 answer | 0

### 1

Question

how to write 12 digit after comma
i read in vtk file as input file D= [ ' 0.99999884292 0.99999951733 1 0.99999737897 0.99998922997 0.99998569147 0.9999903...

1 year ago | 1 answer | 0

### 1

Question

write node to cell center
i have 72 node ( 1, ...,72 ) each node have a value between 0-1 i want calculate average each node become 1 cell i know the c...

1 year ago | 1 answer | 0

### 1

running MATLAB on a Linux machine, can use the function like " WScript.Shell" COM interface to send keystrokes to your application
i tried running using java.awt.robot.event.keyevent.VK_enter but in another simulation did not happen anything. i am too strug...

1 year ago | 0

| accepted

Question

running MATLAB on a Linux machine, can use the function like " WScript.Shell" COM interface to send keystrokes to your application
i would like do many things to coupling between Matlab and antoher simulation i am facing that i need to save as data first thr...

1 year ago | 2 answers | 0

### 2

How do I send keystrokes from MATLAB to another application that was invoked using the bang(!) operator?
hi how about running in linux is there any script like Wscript.shell?

1 year ago | 1

How to run a .exe file with push button (GUI)?
i want to execute file but in difference directory i am trying to change path using myPath ='/home/vaya/field_run/' command =...

1 year ago | 0

Question

i have input file as vtu i am very struggling how to read the pressure value. <DataArray type="Float64" Name="pressure" form...

1 year ago | 0 answers | 0

### 0

Question

read and write same file VTU
hi i want to read and write VTU file and then visualize using Paraview. from original VTU file i already done open and visuali...

1 year ago | 0 answers | 0

### 0

Question

first of all, i using VTU file as input file in MATLAB. some input file succeeded to read. but i am wondering that i did not ge...

1 year ago | 0 answers | 0

### 0

Question

does not support cell arrays containing cell arrays or objects.
hi all i got function from share code but the problem when i fill the input as array i got that error my input file p = [100...

1 year ago | 0 answers | 0

### 0

can not update value
by modify this script and its work [nwc,hWW] =deal(nan(nw,1)); for i = 1:nw wm = fm.WellModels{...

1 year ago | 1

Question

can not update value
hi Matlab i have done many time to used iteration for i want to update value in nwc and hWW put it value from fm.WellModel bu...

1 year ago | 1 answer | 0

### 1

Question

Hi there're anyone can help me to open my GRID MATLAB in PARAVIEW i want to combine using MATLAB and C++ result.

2 years ago | 0 answers | 0

### 0

Question

how to write in Matrix
dear all how to write in matrix this equation v = -(k./mu).*(grad(p) - (rho*g*dz); P = (1/dt)*(pv*rho) + div(rho*v) thank ...

2 years ago | 0 answers | 0

### 0

Question

how to add 2( two) function
dear Matlab I have 2 functions q1 = @(p,T, bhp) WI .* (rho(p(w1),T(w1))./mu(p(w1),T(w1))) .* (p_conn(bhp,bh...

2 years ago | 1 answer | 0

### 1

Question

how to write this equation ?
what's the mistake with my code T=linspace(100,1,10) mu = @(T) 0.001.*(0.2414.*10.^(247.8./((T-273)+68.12963))); ...

2 years ago | 3 answers | 0

### 3

how to write this equation ?
i want to calculate T inside of mu mu(T) 0.001.*(0.2414.*10.^(247.8./((T-273)+68.12963))); ↑ Error: Unexpected MA...

2 years ago | 0

how to add matrix and scalar
thank you

2 years ago | 0

Question

how to add matrix and scalar
Hi Matlab User i want to used how to write pv = @(p) pv_r.+ (cr * (p - p_r) ) Unexpected MATLAB operator. note; ...

2 years ago | 2 answers | 0

### 2

difference result with same equation
actually i want calculate this equation, that why i define by my self bhp and bhT, ho to prove aot calculate bhp,bhT if i ge...

2 years ago | 0

difference result with same equation
thank you very much, i understand

2 years ago | 0

Question

difference result with same equation
my commands bhp=100*ones(10,1); bht=[500;500;500;500;500;300;300;300;300;300]; p= @(bhp,bhT) bhp + g*dz.*rho(bhp,bhT); ...

2 years ago | 2 answers | 0

### 2

Question

how to solve Error: Unexpected MATLAB expression
i write command for initial pressure in grid cell (FVM = finite volume methods) i have done define p_init(below) p_init =...

2 years ago | 1 answer | 0