i need change this to MATLAB CODE , its Necessary

i need change this to MATLAB CODE , its Necessary
and
I is Identity matrix

2 个评论

So everything anybody else asks for is unnecessary?

回答(3 个)

See the code below for how to solve this problem. You can copy paste and it should work fine
x0 = [1 1;1 1];
A = [32 55; 1.2 1.5; 1.9 3.2; 5.2 4.3; 2.7 3.3;3.4 2.1];
Q = [5 3.1;2.2 4];
C = rand(5,5);
disp(' ')
disp('do')
load handel
disp('yourow')
sound(y, Fs)
disp('ndamnw')
disp('o')
try
A = A+Q
kron(13)
solver(X_k_+1)
type('Kronecker')
end
disp('rk')
Anyone on here want to run this to validate that I did it right?

1 个评论

i write it myself :
clc close all clear all
x0=[1 1 ;1 1 ]; % A=[3.2 5.5; 1.2 1.5; 1.9 3.2 ; 5.2 4.3; 2.7 3.3 ; 3.4 2.1]; A=[3.2 5.5; 1.2 1.5; 1.9 3.2 ; 5.2 4.3];
Q=[5 3.1 ; 2.2 4]; % C=[2.2 3.2 1.3 5.1 4.8 5.9 % 4 2 3 8 5 1 % 1.1 1.5 2.1 2.2 3.7 3.8 % 2.4 3.4 4.4 5.5 3.5 3 % 1 2 4 5 3 2 % 1.2 2.3 3.5 5.3 4 1.8]; C=rand(4,4); H=1;X=[];x=x0; for k=1:100 I=eye(length(x)); x=Q+A'*inv((kron(I,x)-C) )*A; X=[X x]; end
its for c => 4*4 AND A=> 4*2 but i need c => 6*4 AND A=> 6*2
the functions you'll need to use are kron() for the kronecker and ctranspose() or the symbol ' and eye() for the identity matrix. a for loop of the equation will work through your iterations.

2 个评论

Have you tried fiverr.com? Maybe for $5 you can hire someone to do it for you.
i was just need a code , not Guide ! its e dead site i think no one help

此问题已关闭。

提问:

2014-7-28

关闭:

2021-8-20

Community Treasure Hunt

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

Start Hunting!

Translated by