Community Profile

Contact

Top 5% contributor

The Enabled property for a property listener was changed (I think in R2014b) to a logical. Previously it was a string "on" or "o...

accepted

0

Answered 4 months ago

I want to be able to programmatically determine if an arbitrary directory is on the MATLAB path. I want to do this because the p...

6 Answers

2

Asked 3 years ago

In R2013a I used addlistener to listen to various object properties. On occasion I had reason to enable and disable these listen...

1 Answers

Asked 4 months ago

I would like a global solution to showing a busy cursor during long operations (not figure dependent). This is fairly simple for...

Asked 9 months ago

I am using regexp to determine which cells in a cellstr array contain the characters of interest. Regexp returns a cell array wi...

Asked 4 years ago

Given an input number representing the number of bottles of beer on the wall, output how many are left if you take one down and ...

Solve this!

1 year ago

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

Regardless of input, output the string 'yes'.

Given a and b, return the sum a+b in c.

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

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

Find the sum of all the numbers of the input vector x. Examples: Input x = [1 2 3 5] Output y is 11 Input x ...

4 years ago

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

New installation of R2016a. Matlab hangs when trying to start the Help browser. It does not appear to be a race condition.

1

Is it possible to create a pixmap in Matlab? A pixmap is essentially a memory structure that behaves like a screen, so you can c...

Asked 3 months ago

As near as I can tell the difference between addOptional and addParamValue is that addOptional, like addRequired, is a POSITIONA...

Answered 1 year ago

Call back functions need to be a subfunction of the method from which they are called. In this case that is the constructor. Mov...

Answered 5 years ago

Choose your country 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 location from the following list:

See all countries