Community Profile

photo

Tanveer ul haq


Last seen: 2 years ago Active since 2019

Followers: 0   Following: 0

Statistics

  • Thankful Level 2
  • Revival Level 1
  • First Review
  • Thankful Level 1
  • Knowledgeable Level 1
  • First Answer

View badges

Feeds

View by

Question


adding two matrices of unequal length
I have two large matrices having different rows. for instanc, consider: A=[1 2; 3 4; 5 6; 7 8; 9 0]; B=[7 5; 2 3]; Result=[8 ...

3 years ago | 1 answer | 0

1

answer

Answered
How to find f(x)*g(x)
syms x f = 1 + x; g = 1 - x; h = simplify(f*g)

3 years ago | 0

Answered
Modulus of a fraction
Download both the .m files and the run "fraction_modulo.m" to get your desired modulus.

3 years ago | 0

Question


how to find the Reverse process of A(B).
I have two arrays A and B. for instance, A=[1 3 2 4 5 6 7 8 8 9 11]; B=[10 4 3 1 7 6 9 5 2 8 11]; in matlab A(B)=[9 4 ...

4 years ago | 2 answers | 0

2

answers

Question


Arrangement of matrix elements in specific order
Hello. I have 2 matrices. A and B. say: A = [1 2 4 3]; B = [2 3 1 4]; % the corresponding element (A to B corresponding) of...

4 years ago | 1 answer | 0

1

answer

Answered
dont want the number if its a part of a complex number
Z = [0.5 1+3i -2.2]; Z(~imag(Z))

4 years ago | 2

| accepted

Answered
finding position of matrix using for loop
A = [11, 12, 13, 14, 15, 16, 17, 18]; for n = 1:8 A(i); end % Now write A(n) you will get the associated entry with n. e.g....

4 years ago | 0

| accepted