# Sheet

Last seen: 25 Tage vor Aktiv seit 2023

Followers: 0   Following: 0

#### Statistik

Abzeichen anzeigen

#### Feeds

Anzeigen nach

Frage

MATLAB program to split a given matrix A into two matrices B & C such that B+C=A.
Hi, Can you help me splitting a matrix A into B & C such that B+C=A? I need a code to generate all possible combinations of B &...

26 Tage vor | 1 Antwort | 0

### 1

Antwort

Frage

How to check if a number is power of a prime number?
How to check if a number is power of a prime number? e.g. 9, 25, 27, 36 are powers of a prime number. Program should return log...

3 Monate vor | 0 Antworten | 0

### 0

Antworten

Frage

Generation of all possible vectors with constraints
Hi I want to create all possible vectors comprised of 0, 1 or/and -1 such that length of each vector is 7 and it contains exact...

3 Monate vor | 1 Antwort | 0

### 1

Antwort

Frage

Counting frequency of occurance of each element of one vector in the another vector
Suppose I have a vector x=[1 2 3 4 5] and y=[1 1 4 2 1 5 2 5 1 1]. I have to count frequency of occurance of each element of x i...

mehr als ein Jahr vor | 1 Antwort | 0

### 1

Antwort

Frage

Creating an array of partial sums of certain array
Suppose I have an initial array [a1 a2 a3 a4 a5]. Then I have to create an array = [a1, a2, a3, a4, a5, a1+a2, a2+a3, a3+a4,...

mehr als ein Jahr vor | 2 Antworten | 0

### 2

Antworten

Frage

Is there any better alternative of four nested loops?
Hi, I have certain matrices e1, e2, e3 & e4 corresponding to u1, u2, u3 & u4 of sizes h1, h2, h3, & h4 respectively. I have to ...

mehr als ein Jahr vor | 1 Antwort | 0

Antwort