Community Profile

Contact

yes, you can use function handles, and str2fun. Here is a simple example: function out = foo(funOb,p1,p2,p3) out = funOb...

accepted

1

Answered 4 years ago

I am having memory issues when I convert large cellular arrays into nominal arrays. I am importing these cellular arrays of str...

1 Answers

0

Asked 4 years ago

Given a vector _v_ and a element _e_, return the number of occurrences of _e_ in _v_. Note: NaNs are equal and there may be n...

Solve this!

3 years ago

Assume that x is an n-by-2 matrix. The aim is to return the first column of x, but sorted according to the second column. Exa...

In this problem , you must convert a cell into a matrix and pad each cell with NaN. *Example 1:* If you have the input...

In MATLAB, you create a vector by enclosing the elements in square brackets like so: x = [1 2 3 4] Commas are optional, s...