Question

fitcsvm - setting sigma value?

Hi all, I am currently using the built-in "fitcsvm" function to train a classifier and I am slightly confused by the document...

4 years ago | 0 answers | 0

Question

'Simple' object tracking on segmented microscopy images

Dear all, I have developed various microscopy image segmentation algorithms using MATLAB (mostly based on built-in functions ...

5 years ago | 1 answer | 0

Question

Setting AlphaData of an image causes labels of other axes on the same figure to flip?

Dear all, I have a very weird issue. I have a figure with various axes, one to display an image and the others for scatter pl...

6 years ago | 1 answer | 0

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

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

7 years ago

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

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

7 years ago

Solved

Back and Forth Rows

Given a number n, create an n-by-n matrix in which the integers from 1 to n^2 wind back and forth along the rows as shown in the...

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

7 years ago

Solved

Finding Perfect Squares

Given a vector of numbers, return true if one of the numbers is a square of one of the other numbers. Otherwise return false. E...

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

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

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

7 years ago

Answered

C++ vector to MxArray as output for a MEX function

I guess this is a typical case of actually writing the question making me realize what was wrong! I constructed my mxArray us...

C++ vector to MxArray as output for a MEX function

I guess this is a typical case of actually writing the question making me realize what was wrong! I constructed my mxArray us...

7 years ago | 0

| accepted

Question

C++ vector to MxArray as output for a MEX function

Hi all, I've been stuck on this for a few days; I have a function with many nested for-loops and I decided to create a MEX ve...

7 years ago | 1 answer | 0

Question

Issues using PARFOR with large object array (slow execution time)

Hello, I have been having issues with some code I am trying to parallelise. I am not sure where the problem is, I explored di...

8 years ago | 2 answers | 0