필터 지우기
필터 지우기

Help with the program of creating matrices.

조회 수: 2 (최근 30일)
maharaj
maharaj 2013년 3월 6일
I felt the code for the formulation of this matrices was pretty tough.
I have matrix [Ji] which is initially 8*1 matrix. which are like J1, J2,...J8 There is a Difference matrix as [diff] which is initially 7*8 matrix
Now i have to find [J'1j] matrix which is initially 7*1
So the equation is step-1: [J'11]=[diff][J1]
Now [J'12] is a 6*1 and [diff] is 6*7 and [J1] as 7*1
Step-2: [J'12]=[diff][J1] in [diff] and [J1] 1st row is removed... this is continued till [J' 18].. and then we find [J'2j] in the same procedure as above. until [j'8j].
It would be highly appriciated for your help with the code in matlab. Really need some help.
Thanks for your time.
  댓글 수: 1
maharaj
maharaj 2013년 3월 6일
I am finding a [J'ij] matrix at each step. 7*1 initial dimentions. Mistyped it as [J'1j] in the 3rd line.

댓글을 달려면 로그인하십시오.

채택된 답변

Youssef  Khmou
Youssef Khmou 2013년 3월 7일
hi, you did no explain well your problem, try to use these lines :
J=rand(7,8);
J1=diff(J);
J2=diff(J);
J3=diff(J2);.....
% OR
J8=diff(J,6) ;J8 has size 1x8
  댓글 수: 1
Youssef  Khmou
Youssef Khmou 2013년 3월 7일
ok, what is the difficulty you encounter now ?

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Programming에 대해 자세히 알아보기

태그

제품

Community Treasure Hunt

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

Start Hunting!

Translated by