Answered

Difference between Function-call input Event and Function-call output Event?

The answer is yes, and the reason is a RTFM: <http://www.mathworks.com/help/releases/R2014b/stateflow/ug/using-output-events-to-...

Difference between Function-call input Event and Function-call output Event?

The answer is yes, and the reason is a RTFM: <http://www.mathworks.com/help/releases/R2014b/stateflow/ug/using-output-events-to-...

6 years ago | 0

Answered

Temporal logic in condition

Try with a junction. You need that junction because a trigger can only be stated before the condition in one transition. <</m...

Temporal logic in condition

Try with a junction. You need that junction because a trigger can only be stated before the condition in one transition. <</m...

6 years ago | 1

| accepted

Answered

Matlab 2014a start up error with Yosmite 64bit mac

Please see other thread <http://www.mathworks.com/matlabcentral/answers/159016>

Matlab 2014a start up error with Yosmite 64bit mac

Please see other thread <http://www.mathworks.com/matlabcentral/answers/159016>

6 years ago | 0

Answered

Is there a StateFlow Users Guide Ver. 8?

The current Stateflow Users Guide is available online at <http://www.mathworks.com/help/pdf_doc/stateflow/sf_ug.pdf>. This is Ve...

Is there a StateFlow Users Guide Ver. 8?

The current Stateflow Users Guide is available online at <http://www.mathworks.com/help/pdf_doc/stateflow/sf_ug.pdf>. This is Ve...

6 years ago | 0

| accepted

Answered

How to set regexp expression for HH:MM dd.mm.yyyy format?

There is a function that does the parsing for you. Try t = datetime(dateSTOP,'InputFormat','hh:mm dd.MM.yyyy') See ...

How to set regexp expression for HH:MM dd.mm.yyyy format?

There is a function that does the parsing for you. Try t = datetime(dateSTOP,'InputFormat','hh:mm dd.MM.yyyy') See ...

6 years ago | 2

| accepted

Answered

Hi everyone, I am new to matlab. I have aa problem regarding fft of time series.

The documentation on fft might help. See <http://www.mathworks.com/help/matlab/ref/fft.html>

Hi everyone, I am new to matlab. I have aa problem regarding fft of time series.

The documentation on fft might help. See <http://www.mathworks.com/help/matlab/ref/fft.html>

6 years ago | 0

Answered

XML schema for Stateflow

Stateflow's model format is readable, but not open. You should not need to directly read or write SLX model files, as this forma...

XML schema for Stateflow

Stateflow's model format is readable, but not open. You should not need to directly read or write SLX model files, as this forma...

6 years ago | 0

| accepted

Answered

Is there any way to run simulink model after certain time period?

You may want to have a look at the Simulin documentation for <http://www.mathworks.de/de/help/simulink/ug/running-parallel-simul...

Is there any way to run simulink model after certain time period?

You may want to have a look at the Simulin documentation for <http://www.mathworks.de/de/help/simulink/ug/running-parallel-simul...

7 years ago | 1

Answered

Fatal Error using CFTOOL

Please contact Technical Support at *<http://www.mathworks.com/myservicerequests www.mathworks.com/myservicerequests>*, having y...

Fatal Error using CFTOOL

Please contact Technical Support at *<http://www.mathworks.com/myservicerequests www.mathworks.com/myservicerequests>*, having y...

7 years ago | 0

| accepted

Answered

What is the MATLAB & Simulink Racing Lounge?

On Jan 23rd we're airing live from San Diego, CA, where we are celebrating the 30th anniversary of MathWorks with all our collea...

What is the MATLAB & Simulink Racing Lounge?

On Jan 23rd we're airing live from San Diego, CA, where we are celebrating the 30th anniversary of MathWorks with all our collea...

7 years ago | 0

Solved

Times 2 - START HERE

Try out this test problem first. Given the variable x as your input, multiply it by two and put the result in y. Examples:...

7 years ago

Question

What is the MATLAB & Simulink Racing Lounge?

I heard about the *MATLAB & Simulink Racing Lounge* for <http://www.mathworks.com/academia/student-competitions/formula-student-...

7 years ago | 3 answers | 0

Solved

Remove all the words that end with "ain"

Given the string s1, return the string s2 with the target characters removed. For example, given s1 = 'the main event' your ...

9 years ago

Solved

Trimming Spaces

Given a string, remove all leading and trailing spaces (where space is defined as ASCII 32). Input a = ' singular value deco...

9 years ago

Solved

Pattern matching

Given a matrix, m-by-n, find all the rows that have the same "increase, decrease, or stay same" pattern going across the columns...

9 years ago

Solved

Remove all the consonants

Remove all the consonants in the given phrase. Example: Input s1 = 'Jack and Jill went up the hill'; Output s2 is 'a ...

9 years ago

Solved

Counting Money

Add the numbers given in the cell array of strings. The strings represent amounts of money using this notation: $99,999.99. E...

9 years ago

Solved

Bullseye Matrix

Given n (always odd), return output a that has concentric rings of the numbers 1 through (n+1)/2 around the center point. Exampl...

9 years 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, ....

9 years ago

Solved

Which values occur exactly three times?

Return a list of all values (sorted smallest to largest) that appear exactly three times in the input vector x. So if x = [1 2...

9 years 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...

9 years ago

Solved

The Goldbach Conjecture

The <http://en.wikipedia.org/wiki/Goldbach's_conjecture Goldbach conjecture> asserts that every even integer greater than 2 can ...

9 years ago

Solved

Remove the vowels

Remove all the vowels in the given phrase. Example: Input s1 = 'Jack and Jill went up the hill' Output s2 is 'Jck nd Jll wn...

9 years ago

Solved

Most nonzero elements in row

Given the matrix a, return the index r of the row with the most nonzero elements. Assume there will always be exactly one row th...

9 years ago

Solved

Determine whether a vector is monotonically increasing

Return true if the elements of the input vector increase monotonically (i.e. each element is larger than the previous). Return f...

9 years ago

Solved

Find all elements less than 0 or greater than 10 and replace them with NaN

Given an input vector x, find all elements of x less than 0 or greater than 10 and replace them with NaN. Example: Input ...

9 years ago

Solved

Triangle Numbers

Triangle numbers are the sums of successive integers. So 6 is a triangle number because 6 = 1 + 2 + 3 which can be displa...

9 years ago

Solved

Select every other element of a vector

Write a function which returns every other element of the vector passed in. That is, it returns the all odd-numbered elements, s...

9 years ago