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! :)
Multiply a column by a row
Swap two numbers
Find the square of the sum of the digits of a number
Count number of words in string
Find the 9's Complement
Find out the Gray Code for a Given Binary Number
Find out sum and carry of Binary adder
Append two matrix as shown below example
Crate a vector of logarithmically spaced
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