Info

# i need change this to MATLAB CODE , its Necessary

1 view (last 30 days)
Martin on 28 Jul 2014
Closed: MATLAB Answer Bot on 20 Aug 2021
i need change this to MATLAB CODE , its Necessary
and
I is Identity matrix
##### 2 CommentsShowHide 1 older comment
John D'Errico on 29 Jul 2014
So everything anybody else asks for is unnecessary?

Andrew Reibold on 31 Jul 2014
Edited: Andrew Reibold on 31 Jul 2014
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')
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?
Martin on 31 Jul 2014
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

Joseph Cheng on 28 Jul 2014
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 CommentsShowHide 1 older comment
Andrew Reibold on 31 Jul 2014
lol

Martin on 31 Jul 2014
i was just need a code , not Guide ! its e dead site i think no one help

### Community Treasure Hunt

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

Start Hunting!

Translated by