photo

Sheet


Last seen: 5 months ago Active since 2023

Followers: 0   Following: 0

Statistics

  • Thankful Level 2

View badges

Feeds

View by

Question


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

5 months ago | 1 answer | 0

1

answer

Question


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

6 months ago | 0 answers | 0

0

answers

Question


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

7 months ago | 1 answer | 0

1

answer

Question


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

1 year ago | 1 answer | 0

1

answer

Question


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

2 years ago | 2 answers | 0

2

answers

Question


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

2 years ago | 1 answer | 0

1

answer