Community Profile

Contact

Professional Interests: Image processing, Matlab

Top 5% contributor

Not sure if this solution fit your data - but if you know how to set the 'XTicksLabelStyle' within the plot function, why not do...

accepted

1

Answered 2 years ago

Hi. I've asked this already in the Matlab Answers, but no one seeing it seemed to have an answer, so I'll try here also.. I'v...

712 views

Posted 3 years ago

Hi, I have two handles created with something like, hTri= trimesh(); hFill= fill3(); where two figures act as paren...

2 Answers

0

Asked 3 years ago

Try A= [ 5 3 3 1 4; 6 6 3 1 0; 6 2 2 2 0; 4 2 3 2 0; 1 1 1 1 2 ] A(A(:, 5)== 0, :)= []

Answered 3 years ago

Hi! I have a set of data, say z(x,y), that could simply be thought of as a "U" shape in the (x,y)-plane, extended in the z-pl...

1 Answers

Hi, I have an outer for-loop that I can't manage to get rid of. Code as follows for t= 1: epochs ... code ...

I can add for future reference that I solved it by correcting a bug from the code above. The variable tri should have been ...

Flip the outermost columns of matrix A, so that the first column becomes the last and the last column becomes the first. All oth...

Solve this!

2 years ago

Given an input vector x, find all elements of x less than 0 or greater than 10 and replace them with NaN. Example: Input ...

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

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

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

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

The Poker Series consists of many short, well defined functions that when combined will lead to complex behavior. Our goal is t...

3 years ago

4 years ago

The Poker Series consists of many short, well defined functions that when combined will lead to complex behavior. Our goal is to...

Given two lists of numbers, determine the weighted average. Example [1 2 3] and [10 15 20] should result in 33.333...

Write a two-input, two-output function that swaps its two input arguments. For example: [q,r] = swap(5,10) returns q = ...

Reverse the vector elements. Example: Input x = [1,2,3,4,5,6,7,8,9] Output y = [9,8,7,6,5,4,3,2,1]

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

Load more