Technical Medicine (Medical Sensing & Stimulation)

Question

Efficient method to detect nonzero value trains up to a certain lenght?

I have data as follows (either numerical or logical, it doesn't matter in this case): [0 1 0 1 1 0 1 1 1 0 1 1 1 1 0] Every 0...

environ 2 ans ago | 2 answers | 0

Answered

How can I start MATLAB?

That's a strange error. Did your MATLAB installation install successfully and completely? Is your Java installation up-to-date? ...

How can I start MATLAB?

That's a strange error. Did your MATLAB installation install successfully and completely? Is your Java installation up-to-date? ...

environ 3 ans ago | 0

| accepted

Submitted

findduplicates

Find linear indices of duplicate elements in input.

environ 3 ans ago | 2 downloads |

Submitted

dirAll

Find all paths in the specified directory and its subdirectories.

environ 3 ans ago | 1 download |

Submitted

Honeycomb

Tools for hexagonal binning (honeycomb plot) and visualisation

environ 4 ans ago | 7 downloads |

Answered

What is best practice to determine if input is a figure or axes handle?

Another option I found inside the undocumented axescheck function is the specification of a type to check for when using isgraph...

What is best practice to determine if input is a figure or axes handle?

Another option I found inside the undocumented axescheck function is the specification of a type to check for when using isgraph...

plus de 4 ans ago | 4

Solved

Pizza!

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

plus de 4 ans ago

Question

Push to remote repo on GitHub: my account has two-step verification turned on, not authorized error

I've enabled two-factor authentication (aka two-step verification) for my GitHub account. Whenever I login to GitHub, I should b...

plus de 4 ans ago | 1 answer | 0

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

plus de 4 ans 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...

plus de 4 ans ago

Solved

Column Removal

Remove the nth column from input matrix A and return the resulting matrix in output B. So if A = [1 2 3; 4 5 6]; and ...

plus de 4 ans 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...

plus de 4 ans ago

Solved

Determine if input is odd

Given the input n, return true if n is odd or false if n is even.

plus de 4 ans ago

Solved

Find the sum of all the numbers of the input vector

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

plus de 4 ans 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...

plus de 4 ans ago

Answered

How to get the mean of ROC curves using Matlab?

I guess the matrix rows are the ROC-curves, each a number of elements in every column (ans a few NaN after the 1). Then you coul...

How to get the mean of ROC curves using Matlab?

I guess the matrix rows are the ROC-curves, each a number of elements in every column (ans a few NaN after the 1). Then you coul...

plus de 4 ans ago | 0

Question

What is best practice to determine if input is a figure or axes handle?

I've been confused about MATLAB graphics since change to the new graphics system. I do not know how I can check for a variable b...

plus de 4 ans ago | 4 answers | 1

Answered

How to use medfilt1 on different computers

Using a function from a toolbox you have not installed on a different computer is not allowed. You could implement your own 1-D ...

How to use medfilt1 on different computers

Using a function from a toolbox you have not installed on a different computer is not allowed. You could implement your own 1-D ...

plus de 4 ans ago | 0

Question

Where do I find the MATLAB Online terms of access?

I want to review the MATLAB Online terms of access. I accepted them the first time I logged in to matlab.mathworks.com, but now ...

plus de 4 ans ago | 1 answer | 0

Answered

Is it allowed to publish an extension to a built-in function on File Exchange?

In the meantime I could solve the problem as follows, which is allowed I believe: At the point(s) where I want to insert code...

Is it allowed to publish an extension to a built-in function on File Exchange?

In the meantime I could solve the problem as follows, which is allowed I believe: At the point(s) where I want to insert code...

plus de 4 ans ago | 0

Question

Is it allowed to publish an extension to a built-in function on File Exchange?

I have a great idea for additional functionality of a built-in function from a MATLAB toolbox. For this extension to work, I'd n...

plus de 4 ans ago | 4 answers | 0

Question

Bug? Datetime creation produces both NaT and 1-Jan-1970 values.

When I run the following code in either R2014b or R2016a I get: clear d, d(:,2) = datetime(randi(10,5,3)) d = NaT ...

environ 5 ans ago | 1 answer | 0

Question

Using datetime in R2014a (prior to its introduction in R2014b)

The |datetime| class was added in MATLAB R2014b. However, the version I'm forced to use on a work computer is R2014a, unfortunat...

plus de 5 ans ago | 1 answer | 0

Question

Figures don't resize, but axes do (with almost the same commands)

I resize axes to a certain resolution (seconds per centimetre) and I try to resize the figure's size accordingly. The figure won...

presque 6 ans ago | 0 answers | 0

Question

MATLAB doesn't exit, all windows close, but MATLAB.exe persists in Task Manager

Well, the title says it all. Is this a common problem? What could cause and fix this? I'm on Win8x64 and I use R2014b. When I...

environ 6 ans ago | 1 answer | 0

Question

I can't run Activate (Mac OS X 10.10) to reactivate expired MATLAB license

I can't run the license activation application (Activate from MATLAB.app -> show package contents). My computer (Mac OS X 10.10)...

environ 6 ans ago | 1 answer | 0

Answered

linear fit of a semilog graph

You should sort the values in Ntot using [Ntot,i] = sort(Ntot); and sort Ftot accordingly using Fto...

linear fit of a semilog graph

You should sort the values in Ntot using [Ntot,i] = sort(Ntot); and sort Ftot accordingly using Fto...

plus de 6 ans ago | 0

| accepted