converting octave to matlab

67 Ansichten (letzte 30 Tage)
Shahrin Islam
Shahrin Islam am 20 Okt. 2018
Beantwortet: Nurullah sany am 17 Sep. 2021
Hello everyone. I want to know how can I convert a code written in octave to matlab. Please help me. Thanks in advance.

Antworten (2)

madhan ravi
madhan ravi am 20 Okt. 2018
  2 Kommentare
Shahrin Islam
Shahrin Islam am 20 Okt. 2018
Thank you so much. But I am not able to extract it. Is there any other way?
Mohd  Sufian
Mohd Sufian am 1 Aug. 2021
You can easily extract it by using 7zip or WINRAR on windows
for 7zip you have to extract it 2 time

Melden Sie sich an, um zu kommentieren.


Nurullah sany
Nurullah sany am 17 Sep. 2021
A=[1 1 1; 2 1 3; 3 4 -2]; B=[4;7;9]; n=length(B); Aug= [A B] for i=1:n Aug(i,:)=Aug(i,:)./Aug(i,i); for j=1:n if j~=i key1=Aug(j,i)./Aug(i,i); Aug(j,:)=Aug(j,:)-key1.*Aug(i,:); end end end fprintf('Solution of the given system \n'); disp(Aug(:,end)

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by