Community Profile

Contact

Top 1% contributor

This trend gets the count of the number of sermons returned for a language query on the website www.sermonaudio.com. There is...

18 views

0

11 months ago

When I run the quit command in the command window or in a script, the application appears to close, but opening the Task Manager...

2 Answers

Asked 4 years ago

When using search, you can sort by date answered/asked, and number of answers/votes, but you can't sort by how relevant the ques...

2

Answered 4 years ago

Hi, I've got a subsystem block that I'm generating an SFunction of, which I'm then using in a model. How do I automate the...

I saw a matlab page that talked about a getValue method, but I get an error saying "Attempt to reference field of non-structure ...

I have a SystemTest of a Simulink model, where the outport signals are mapped to Test Variables. When I try and perform a lim...

16 views

Splitting my script into two, with the first one handling a lot of code generation and ending with a quit, always worked fine. ...

accepted

Within SystemTest the order of execution corresponds to the order of elements within each of Pre/Main/Post test. So a LimitCheck...

Find the mode of the vector Assumption: no vector is bimodal Example 1: input=[1 2 3 4 4]; output=4 Example 2: input=[7...

Solve this!

1 year ago

you just discovered its circumference, that is the input.

* Given DNA codes of a group of suspects, * and a code for certain types of jokers, * Count how many jokers of that type. * ...

*Description* Return two random integers between 1 and 6, inclusive, to simulate rolling 2 dice. *Example* [x1,x2] =...

you just measured its surface area, that is the input.

Sort the given list of numbers |a| according to how far away each element is from the target value |t|. The result should return...

Given a list of complex numbers z, return a list zSorted such that the numbers that are farthest from the origin (0+0i) appear f...

If x=[0,3,4,2,1] then y=[4,3,2,1,0]

Reverse the vector elements. Example: Input x = [1,2,3,4,5,6,7,8,9] Output y = [9,8,7,6,5,4,3,2,1]

Write a function posX=findPosition(x,y) where x is a vector and y is the number that you are searching for. Examples: fin...

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

The row array birthRateChina stores the China birth rate (per 1000 people) for years 2000 to 2012. Write a statement that create...

Pizza prices are typically listed by diameter, rather than the more relevant feature of area. Compute a pizza's value (cost per ...

Create a row array from 9 to 1, using the double colon operator.

Given the matrix A, return B in which all the rows that have one or more <http://www.mathworks.com/help/techdoc/ref/nan.html NaN...

This problem is a poll (and a little bit of "white hat hacktivism" as well) regarding Cody users sentiment about the use of rege...

Find the base _b_ logarithm of the input decimal number _x_. Express the output as a decimal number. The first argument is the n...

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

Given n, find the sum of the digits that make up 2^n. Example: Input n = 7 Output b = 11 since 2^7 = 128, and 1 + ...

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

There will always be at least one prime in the matrix. Example: Input in = [ 8 3 5 9 ] Output out is 4...

Load more