Find the next state (NS) of a JK Flip-Flop based on previous state (PS), inputs.
Learn more about JK Flip-Flop theory here: JK Flip-Flop.
Ps=0, J=1, K=1, NS will be 1
Interesting...going through various solutions and wondering what a perk it is that I hold an Electrical Engineering degree as a Cody member! :)
Program an exclusive OR operation with logical operators
Change the first and last diagonal element of the identity matrix to zero
Square a Number
Find out Harmonic mean.
Add two hex numbers
Create vector as shown in test cases
Find Excess 3 code of given decimal number.
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list:
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Contact your local office