i need change this to MATLAB CODE , its Necessary

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

2 commentaires

Joseph Cheng
Joseph Cheng le 28 Juil 2014
What have you tried?
So everything anybody else asks for is unnecessary?

Réponses (3)

Andrew Reibold
Andrew Reibold le 31 Juil 2014
Modifié(e) : Andrew Reibold le 31 Juil 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')
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 commentaire

Martin
Martin le 31 Juil 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
Joseph Cheng le 28 Juil 2014

0 votes

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 commentaires

Have you tried fiverr.com? Maybe for $5 you can hire someone to do it for you.
lol
Martin
Martin le 31 Juil 2014

0 votes

i was just need a code , not Guide ! its e dead site i think no one help

Cette question est clôturée.

Question posée :

le 28 Juil 2014

Clôturé :

le 20 Août 2021

Community Treasure Hunt

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

Start Hunting!

Translated by