Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8214973
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 7, 20262026-06-07T11:38:08+00:00 2026-06-07T11:38:08+00:00

I noticed a confused computation of complex valued multiplication in Matlab. One simple example

  • 0

I noticed a confused computation of complex valued multiplication in Matlab. One simple example is as below:

syms x1 x2 x3 x4
s=[x1 x2]*[x3 x4]'

And the return value of s is like:

s=x1*conj(x3) + x2*conj(x4)

In my opinion s should be equal to x1*x3+x2*x4. So, what’s the problem here?

Then, how should I do if I want to get a multiplication of two complex vector?

update: I find out it will be solved through using .’ rather than . like:

s=[x1 x2]*[x3 x4]
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-07T11:38:11+00:00Added an answer on June 7, 2026 at 11:38 am

    The operator ' is the also called Complex conjugate transpose in Matlab ctranspose, which basically means that it applies conj and and transpose functions. Note that this operator is call Hermitian operator in mathematics.

    What you actually want is the operator transpose that is shortcut as .'

    In order to get the expected output, and given that you just want to multiply without conjugating the second vector, you should do:

    >> syms x1 x2 x3 x4
    >> s = [x1 x2]*[x3 x4].'
    

    so your output will be:

    x1*x3 + x2*x4
    

    For further information you can check help ., to see the list of operators, help transpose and help ctranspose

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm somewhat confused on the Linux kernel version numbers. I noticed that many Linux
I've noticed other developers using this technique, but it always confused me. I decided
I noticed that there are two sets of Hadoop configuration parameters: one with mapred.*
I noticed that I can't combine --traditional options with the other one letter other
RegEx has always confused me. I have a string like this: IDE\DiskDJ205GA20_____________________________A3VS____\5&1003ca0&0&0.0.0 Or Sometimes
I'm a little confused and would like to clear this up. //QDir()::rmdir is from
I noticed I don't get any compiler errors when I accidentally forget to return
Debugging one of my projects I noticed another developer had changed the $(document).ready() function
I noticed this semi weirdish-behavior in one of my projects using Scheme and lists.
I am learning ASP.NET MVC and I like it. However, I am very confused

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.