Info

La pregunta está cerrada. Vuélvala a abrir para editarla o responderla.

i need change this to MATLAB CODE , its Necessary

1 visualización (últimos 30 días)
Martin
Martin el 28 de Jul. de 2014
Cerrada: MATLAB Answer Bot el 20 de Ag. de 2021
i need change this to MATLAB CODE , its Necessary
and
I is Identity matrix
  2 comentarios
Joseph Cheng
Joseph Cheng el 28 de Jul. de 2014
What have you tried?
John D'Errico
John D'Errico el 29 de Jul. de 2014
So everything anybody else asks for is unnecessary?

Respuestas (3)

Andrew Reibold
Andrew Reibold el 31 de Jul. de 2014
Editada: Andrew Reibold el 31 de Jul. de 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 comentario
Martin
Martin el 31 de Jul. de 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 el 28 de Jul. de 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 comentarios
Image Analyst
Image Analyst el 29 de Jul. de 2014
Have you tried fiverr.com? Maybe for $5 you can hire someone to do it for you.

Martin
Martin el 31 de Jul. de 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