Community Profile

photo

Roy


17 total contributions since 2011

Contact

Roy's Badges

  • Thankful Level 1
  • Solver

View details...

Contributions in
View by

Question


add data to an existing object with a method not in @ directory
I have created a class of objects, and have stored the core methods for working with these objects in a directory whose name sta...

4 months ago | 0 answers | 0

0

answers

Question


Where is the ellipticf function?
According to this MathWorks website: https://www.mathworks.com/help/symbolic/ellipticf.html Matlab has an incomplete ellip...

2 years ago | 1 answer | 0

1

answer

Question


access to default line colors
Is there a way to easily specify a line color from the (relatively) new default line color ordering? What I'd like is to be able...

2 years ago | 2 answers | 0

2

answers

Question


Overloading arithmetic on graphs or digraphs
I am solving some problems in "quantum graphs." Without getting into the detail, I have a directed graph, built as a MATLAB digr...

2 years ago | 2 answers | 0

2

answers

Question


All edges attached to given node in a (di)graph
I have a simple and, I imagine, common question about working with graphs. Is there a built-in way to find all the edges pointin...

2 years ago | 1 answer | 0

1

answer

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

3 years ago

Question


Opening saved figures created using plotyy
I created some figures using plate and saved them as .fig files. Now, I'd like to modify the figures slightly, but they don't re...

4 years ago | 1 answer | 0

1

answer

Question


read data from variables with names matching patterns
A student of mine saved a .mat file containing variables named x1, x2, ..., x50, y1, y2, etc. How can I write program that will...

5 years ago | 1 answer | 0

1

answer

Question


error running mex on mac c-code
I'm trying to use a little bit of c-code in matlab. I'm running Matlab 2013B on OS X 10.8 and have Xcode 5.0. To figure this ou...

5 years ago | 0 answers | 1

0

answers

Solved


Fibonacci sequence
Calculate the nth Fibonacci number. Given n, return f where f = fib(n) and f(1) = 1, f(2) = 1, f(3) = 2, ... Examples: Inpu...

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

6 years ago

Solved


Determine whether a vector is monotonically increasing
Return true if the elements of the input vector increase monotonically (i.e. each element is larger than the previous). Return f...

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

6 years ago

Solved


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

6 years ago

Solved


Find the sum of all the numbers of the input vector
Find the sum of all the numbers of the input vector x. Examples: Input x = [1 2 3 5] Output y is 11 Input x ...

6 years ago

Question


Getting Mac Menubar in the right spot in 2012B
I just installed 2012B on a Mac, running Lion. I know that Matlab can now put its menus in the proper place in the mac menu bar,...

7 years ago | 1 answer | 0

1

answer

Question


mlint across multiple functions in separate files
I use mlint a lot. I think it operates only on a single file. Suppose I have two functions foo.m which calls bar.m. I'd like ...

8 years ago | 2 answers | 0

2

answers