Community Profile

Contact

Top 10% contributor

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

accepted

0

Answered 3 years ago

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

2 Answers

Asked 3 years ago

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

1 Answers

Asked 1 year ago

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

Given n (always odd), return output a that has concentric rings of the numbers 1 through (n+1)/2 around the center point. Exampl...

Solve this!

2 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. Examples:...

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

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

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

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

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