Matlab Symbolic function operation and CONJ

Source: Internet
Author: User
Clc
Clear
Syms X1 X2 X3 x4 X5 X6
x=[x1; x2; x3; x4; x5; X6];
Dxx=kron (x. ', X. '); % Note that when using symbolic function operations, you need to add a point after the variable "."

% otherwise the default is the complex number, the result contains Conj
The result of the operation of the% Dxx=kron (x ', X ') is:
% DXX =
%
% [Conj (x1) ^2, Conj (x1) *conj (x2), Conj (x1) *conj (x3), CONJ (x1) *conj (x4), Conj (x1) *conj (X5), Conj (x1) *conj (x6),...
% Conj (x1) *conj (x2), Conj (x2) ^2, Conj (x2) *conj (x3), Conj (x2) *conj (x4), Conj (x2) *conj (X5), Conj (x2) *conj (x6),...
% Conj (x1) *conj (x3), Conj (x2) *conj (x3), Conj (x3) ^2, Conj (x3) *conj (x4), Conj (x3) *conj (X5), Conj (x3) *conj (x6),...
% Conj (x1) *conj (x4), Conj (x2) *conj (x4), Conj (x3) *conj (x4), Conj (x4) ^2, Conj (x4) *conj (X5), Conj (x4) *conj (x6),...
% Conj (x1) *conj (X5), Conj (x2) *conj (X5), Conj (x3) *conj (X5), Conj (x4) *conj (X5), Conj (X5) ^2, Conj (X5) *conj (X6),...
% Conj (x1) *conj (X6), Conj (x2) *conj (X6), Conj (x3) *conj (X6), Conj (x4) *conj (X6), Conj (X5) *conj (X6), Conj (X6) ^2]
The result of the operation of% Dxx=kron (x. ', X. ') is
% DXX =
%
% [X1^2, x1*x2, x1*x3, x1*x4, x1*x5, x1*x6, x1*x2, x2^2, x2*x3, x2*x4, x2*x5, x2*x6,...
% x1*x3, x2*x3, x3^2, x3*x4, x3*x5, x3*x6, x1*x4, x2*x4, x3*x4, x4^2, x4*x5, x4*x6,...
% x1*x5, x2*x5, x3*x5, x4*x5, x5^2, x5*x6, x1*x6, x2*x6, x3*x6, x4*x6, x5*x6, x6^2]

The picture shows the results of the operation of Dxx=kron (x. ', X. ')


Complex

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.