Top 5% contributor
That makes sense, thanks for the reply Ilya! Nicolas
12 months ago
Hi all, I am currently using the built-in "fitcsvm" function to train a classifier and I am slightly confused by the documentat...
12 months ago
I guess this is a typical case of actually writing the question making me realize what was wrong!
I constructed my mxArray us...
Answered 4 years ago
I have been having issues with some code I am trying to parallelise. I am not sure where the problem is, I explored di...
Asked 4 years ago
I have developed various microscopy image segmentation algorithms using MATLAB (mostly based on built-in functions ...
Asked 2 years ago
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...
I have a very weird issue. I have a figure with various axes, one to display an image and the others for scatter pl...
Given n (always odd), return output a that has concentric rings of the numbers 1 through (n+1)/2 around the center point.
3 years ago
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...
Try out this test problem first.
Given the variable x as your input, multiply it by two and put the result in y.
You have a matrix for which each row is a person and the columns represent the number of quarters, nickels, dimes, and pennies t...
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...
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...
Given a vector of numbers, return true if one of the numbers is a square of one of the other numbers. Otherwise return false.
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.
Remove the nth column from input matrix A and return the resulting matrix in output B.
A = [1 2 3; 4 5 6];
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...
I am currently using the built-in "fitcsvm" function to train a classifier and I am slightly confused by the document...
Asked 12 months ago
Choose your country to get translated content where available and see local events and offers. Based on your location, we recommend you select United States from the following list:
See all countries