answersLogoWhite

0

taking an example of matrix x ,we find whether this matrix is transitive or not: x=[1 1 0 ;1 0 1;1 0 1] m=1; for i=1:3 for j=1:3 if x(i,j)==1 for k=1:3 if x(j,k)==1 if x(i,k)~=1 m=0; end end end end end end if m==1 disp('Given matrix is Transitive') else disp('Given Matrix is not Transitive') end

User Avatar

Wiki User

15y ago

What else can I help you with?

Related Questions

How do you solve central difference in Matlab?

Possibly the Program Stepping Operator by Matlab.


What is the difference between xilinx and matlab software?

Xilinx is a package. Matlab is a package and language. Xilinx requires a HDL program to execute the required logic. Matlab requires the Matlab program for that purpose. Xilinx is used for digital electronics. Matlab is used for signal processing.


Who is the founder of MATLAB program?

Cleve moler


Where can i find Matlab programming for RF-ID reader?

Matlab is a package that is available for licensed users. The program required for it is available at the official site of Matlab


What is the shortcut to run a file in Matlab?

Press F5 after typing the program. It runs the program.


How is a pso program in matlab..how is it created from algorithm..please help?

The PSO or Particle Swarm Optimization Program algorithm in MatLab is created by first creating a binary genetic algorithm.


How can I effectively stop a MATLAB program that is running indefinitely?

To effectively stop a MATLAB program that is running indefinitely, you can press Ctrl C on your keyboard to interrupt the execution of the program. This will halt the program and allow you to make necessary adjustments or terminate it completely.


How do you program microcontroller in Matlab?

please any one tell me how


How can I programmatically stop the execution of a MATLAB program?

To programmatically stop the execution of a MATLAB program, you can use the "return" statement or the "error" function to exit the program at a specific point. This will halt the execution and return control to the calling function.


Matlab program for FM demodulation?

Matlab has a built-in function called "demod" in the communications (signal processing) toolbox where you can specify 'fm' for frequency demodulation.


How exactly does MATLAB plotting work?

MATLAB is a software program that helps people with doing math. More specifically, it helps people with visualization, programming, and computation. MATLAB plotting should be done in plot edit mode.


How is the program of pso written in in matlab...For eg i want to obtain optimal position for svc for voltage stability..how will b program..also how to create that program from algorithm..?

The program of PSO in Matlab to obtain optimal position for SVC voltage stability will need written in the standard format beginning with the stability grid.