Community Profile # bbah

Last seen: 6 days ago Active since 2019

#### Statistics

• #### Content Feed

View by

Question

Delete row with same value but in different columns
I have a matrix like: [1 1 2 1 47 ; 1 1 47 1 2] How to delete one of the rows and keep the other ? Thanks

3 months ago | 1 answer | 0

### 1

Question

Read two lines from a file and repeat for next lines
Hello everybody i have a file part like this: 1, 695, 400, 8, 519, 2721, 2426, 2034, 2545, 6082, 6081, ...

8 months ago | 1 answer | 0

### 1

Question

Solving nonlinear ordinary differential equations
I want to solve the following equation: h(x) = -(D+a*(D/RT)*o*C)dc/dx % D, a, R,T, o are parameters %Boundary conditions: ...

1 year ago | 0 answers | 0

### 0

Question

Calculating a series function
Dear Matlab Community, i have a problem regarding the following equation which i want to calculate: The Input are lambda, beta,...

1 year ago | 0 answers | 0

### 0

Question

Set specific values in an array to zero
I have an array containing displacements of nodes UY (Nx1) and a matrix containing the nodes of specific elements elems (Nx8). N...

1 year ago | 1 answer | 0

### 1

Question

calculate rotation matrix in 3D
i have 3 axis starting at a point of origin and a rotated vector dir1_new starting at the origin. How can i calculate the rotati...

1 year ago | 2 answers | 0

### 2

Question

Divide square faces into triangles
Hello, i have a faces matrix and i want to divide it into triangles e.g. faces is a 100x4 matrix and i want the same face...

1 year ago | 2 answers | 0

### 2

Question

Newton raphson tranfsorm from 1d to 2d
i have the solution for a 1d problem. How to solve it in 2d ? 1D: function [x] = my_NR(fun, dfun, x_0,E_tol) q = 1; E = i...

1 year ago | 0 answers | 0

### 0

Question

Newton raphson for 2d function
I need to implement a function which approximations the root of a 2dimensional function using the NewtonRaphson method. J is ...

1 year ago | 1 answer | 0

### 1

Question

loop over a cell and combine cell columns into one column
i have a cell array e.g [1,10,18,24,31,40,0] [] 2.0673943 2.0874443 2.1595383 2.2108727 2.2004662 2.1298561 [] [2,11,19,25,32,...

1 year ago | 1 answer | 0

### 1

Question

Remove specific entry in a cell array
in my cell arrays the last number is a 0 or a -1. i want to delete only that value from every cell array e.g input: element...

1 year ago | 1 answer | 0

### 1

Question

create cell array containing neighbour element
Hi, i have a matrix gnbh(ngex2). My first column gives me the index in -x direction and my second in +x direction. I start w...

1 year ago | 0 answers | 0

### 0

Question

loop over a matrix by taking the previous index
hi, i want to loop over a matrix and add the element to a row by taking the index of the previous element. e.g. first_el...

1 year ago | 0 answers | 0

### 0

Question

adding element to a matrix row
hi, i want to add to a matrix edhe next element to the next column e.g calculate an element add to position matrix(1,1) ca...

1 year ago | 1 answer | 0

### 1

Question

add rows to a 344x2 matrix
i have a zeros matrix 344x2 and i want to loop over it so i can put in every row a 1x2 row vector for i = 1:length(a) j = a(i)...

1 year ago | 1 answer | 0