Community Profile

# Charles Dunn

### YouVisit

Active since 2015

#### Content Feed

View by

How to remove delimiters, or special characters from a cell?
This is a great time for regular expressions! The commands are very similar in bash scripting as well, so it's a useful tool to ...

mer än 6 år ago | 0

| accepted

Cropping a particular object in an image
You might find Point in Polygon algorithms useful: https://en.wikipedia.org/wiki/Point_in_polygon It would be a lot simpler ...

mer än 6 år ago | 0

Is there a routine in MATLAB which could help morph images in a specific manner?
If you have access to the lens that took the images, you could use MATLABs camera calibration tool http://www.mathworks.com/h...

mer än 6 år ago | 0

Triangle Mesh with a n *m matrix
I googled "triangle mesh matlab" and this is the top hit: http://www.mathworks.com/help/matlab/ref/trimesh.html

mer än 6 år ago | 1

Generating random ones and zeros controllably
Interesting question. There are probably a couple ways to do this. I would check out the randperm function. sz = [5 5]; ...

mer än 6 år ago | 0

Use imagesc to plot data extracted from hist3
Be sure to read the documentation of imagesc. The first two inputs, if specified, are used to create the X and Y axes on the plo...

mer än 6 år ago | 1

| accepted

Count number of horizontal and vertical lines in an image
It is often useful to do edge detection before using the hough transform. You might consider binarizing by using the Canny edge ...

mer än 6 år ago | 0

how to create color checkerboard any size
I think you have the right idea with generating a black and white checkerboard first. If you have a 3x3 array, you have 9 tot...

mer än 6 år ago | 0

| accepted

Storing Columns of Different Sizes in a Matrix
You could use cell arrays. Cell arrays allow you to store data of different types (strings, ints, doubles, arrays, etc.) all in ...

mer än 6 år ago | 1

| accepted

Do you have a suggestion for a name of my function?
This is similar to Run Length Coding (https://en.wikipedia.org/wiki/Run-length_encoding). You could call it RunLengthCounter

mer än 6 år ago | 3

| accepted

Question

Disable variable replacement notification without disabling variable replacement
I love the Shift+Enter feature to replace variable names, but very often the notification pops up, blocking the next line of cod...

ungefär 7 år ago | 1 answer | 0