Community Profile

photo

Tanveer ul haq


Last seen: 2 meses ago Active since 2019

Statistics

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

View badges

Content Feed

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 meses 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)

7 meses ago | 0

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

alrededor de 1 año 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 ...

más de 1 año 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...

casi 2 años 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))

casi 2 años 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....

casi 2 años ago | 0

| accepted