Multiply the complex number 1+8i with its complex conjugate

5 views (last 30 days)
  1. Enter the value of ‘s’ as complex number
  2. Perform conjugate of ‘s’ and store in the variable ‘t’
  3. Multiply ‘s’ and ‘t’. Store the result of multiplication in the new variable ‘u’
script:
s=1+8i;
t=;
u=;
  1 Comment
Adam
Adam on 25 Oct 2019
What is your question? If you don't know what a complex conjugate is I'd suggest reading up (either in notes you presumably have if this is for a course or online where there are any number of resources). If you know what it is then defining it is Matlab is trivial. also multiplying two numbers in Matlab doesn't seem to present any real challenges. So what part of it are you struggling with, given you've already managed to enter one complex number.

Sign in to comment.

Answers (1)

Nicolas B.
Nicolas B. on 25 Oct 2019
Edited: Nicolas B. on 25 Oct 2019
%code removed
Btw, I don't think this website is there to do your homework. I highly recommend you to learn how to you a search engine and to learn by your own.
This website is there to help you solve real technical problems that cannot be solved with a simple research.
  1 Comment
Guillaume
Guillaume on 25 Oct 2019
I don't think this website is there to do your homework.
And for that reason, providing actual answer to what is an obvious homework problem (a very easy one at that!) is discouraged. The OP will learn nothing (other that it's easy to cheat) if you they don't try to solve their problem.

Sign in to comment.

Categories

Find more on Introduction to Installation and Licensing in Help Center and File Exchange

Products


Release

R11.1

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!