At first, i was born. Then happened the rest.

Submitted

Calling Shared Libraries from Simulink

This paper discusses several approaches for calling shared libraries from Simulink models

1 month ago | 31 downloads |

Submitted

timeout

Interrupt execution of script or function after specified period of time

7 months ago | 5 downloads |

Submitted

Solving Missionaries and Cannibals Problem with Simulink Design Verifier

Missionaries and Cannibals Problem solved with Simulink Design Verifier (and simple visualization)

7 months ago | 2 downloads |

Answered

close cmd window after executable

Much easier: fileName = uigetfile('*.*'); cmd = sprintf('start program.bat "%s"', fileName); system(cmd);

close cmd window after executable

Much easier: fileName = uigetfile('*.*'); cmd = sprintf('start program.bat "%s"', fileName); system(cmd);

9 months ago | 1

Linked

Simulink (Embedded Coder) Target for TI LaunchPad

Simulink (Embedded Coder) Target Support Package for TI LaunchPad

9 months ago | 426 clicks |

Submitted

Utilities to access SLDV generated test cases

Utilities to access SLDV generated test cases

9 months ago | 1 download |

Submitted

Simulink (Embedded Coder) Target for TI Stellaris LaunchPad

Simulink (Embedded Coder) Target for TI Stellaris LaunchPad

10 months ago | 21 downloads |

Solved

the proud tradition of zero scores in Cody

The short version is: *_your function should return a zero and also have a zero score/size_* The long version comes with a li...

12 months ago

Solved

Say something funny

Say something funny, or not. Your solution will be (fully automatically and objectively) scored based on how clever or funny ...

12 months ago

Solved

Hackathon: the beginnings

I am thinking of a number between 1 and 10000... can you guess what this number is? *Description* The test suite has rando...

12 months ago

Solved

Find the alphabetic word product

If the input string s is a word like 'hello', then the output word product p is a number based on the correspondence a=1, b=2, ....

12 months ago

Solved

Who Has the Most Change?

You have a matrix for which each row is a person and the columns represent the number of quarters, nickels, dimes, and pennies t...

12 months ago

Solved

Make a checkerboard matrix

Given an integer n, make an n-by-n matrix made up of alternating ones and zeros as shown below. The a(1,1) should be 1. Examp...

12 months ago

Solved

Make the vector [1 2 3 4 5 6 7 8 9 10]

In MATLAB, you create a vector by enclosing the elements in square brackets like so: x = [1 2 3 4] Commas are optional, s...

12 months ago

Solved

Count number of words in string

Count number of words in string Examples 'hi', answer is 1 'hi hi', answer is 2 'I enjoy cody', answer is 3

12 months ago

Solved

Pizza!

Given a circular pizza with radius _z_ and thickness _a_, return the pizza's volume. [ _z_ is first input argument.] Non-scor...

12 months ago

Solved

The Hitchhiker's Guide to MATLAB

Output logical "true" if the input is the answer to life, the universe and everything. Otherwise, output logical "false".

12 months ago

Answered

Why is the 'untar' function not working with URL, as shown in the example?

Unfortunately, it's not only "this specific file". I stumble on this exact problem with other tar files from time to time. I ...

Why is the 'untar' function not working with URL, as shown in the example?

Unfortunately, it's not only "this specific file". I stumble on this exact problem with other tar files from time to time. I ...

1 year ago | 1

Submitted

MIPS processor in Simulink

Implementation of single-cycle MIPS processor in Simulink

2 years ago | 3 downloads |

Submitted

Simulink (Embedded Coder) Target for TI LaunchPad

Thsi target support package allows you to deploy your algorithms on TI LaunchPad.

2 years ago | 19 downloads |

Submitted

QNX Target Support Package for Embedded Coder

This target support package allows you to deploy your algorithms on QNX RTOS.

2 years ago | 5 downloads |

Solved

Compute the step response of a DC motor

Compute the step response of a DC motor shown below <<http://blogs.mathworks.com/images/seth/cody/dc-motor.png>> The param...

2 years ago

Solved

Model a simple pendulum

Model a simple pendulum of length 200cm with bob of mass 100g and plot the position in degrees. The pendulum starts at 30 degree...

2 years ago

Solved

Produce a Fibonacci sequence

Construct a diagram that generates the Fibonacci sequence: 1, 1, 2, 3, 5, 8, 13, 21, 34.....up to 377 The Fibonacci sequ...

2 years ago

Solved

Model a falling body

An object is falling freely from a height of 22 meters under the force of gravity. <<http://blogs.mathworks.com/images/seth/c...

2 years ago

Solved

Make a low pass filter

Make a first order low pass filter that will filter out the high frequency oscillations for the given input signal. The cut-off ...

2 years ago

Solved

Model a mass spring system

Model an ideal mass-spring system shown below where the spring is initially stretched. <<http://blogs.mathworks.com/images/se...

2 years ago

Solved

Counting pulses in a signal

Count the number of pulses that are the result of summing each pulse generator block. Pulse Generator blocks produce a recurr...

2 years ago

Solved

Add damping to a mass spring system

Model an ideal mass-spring-damper system shown below where the spring is initially stretched. <<http://blogs.mathworks.com/im...

2 years ago

Solved

Make a full wave rectifier

Produce a full wave rectifier waveform for the given sine wave source. For a sine wave input, the output of the full wave rec...

2 years ago