photo

Ned Gulley

Last seen: 11 days ago Active since 2011

Followers: 6   Following: 0

Message

Statistics

All
  • MATLAB Flipbook Mini Hack Participant
  • MATLAB Mini Hack 2022 Participant
  • 3 Month Streak
  • Thankful Level 3
  • Likeable
  • Famous
  • Explorer
  • Personal Best Downloads Level 2
  • MATLAB Mini Hack Participant
  • Editor's Pick
  • First Review
  • 5-Star Galaxy Level 5

View badges

Feeds

Answered
How to get data from web?
URLREAD expects US-style usage of commas and stops in numbers. So in a number like 150,228.17 it will ignore the comma and retur...

7 years ago | 0

| accepted

Answered
Is it legal to publish the source code of Matlab's toolbox functions?
In general, just keep in mind that it’s not okay to take code from MathWorks products and give it away, whether through MATLAB A...

7 years ago | 11

| accepted

Question


How to import Excel data from a spreadsheet with cross-file references?
I have an Excel spreadsheet, call it Spreadsheet A, that I want to read into MATLAB. The Import Tool works well for this. Exc...

9 years ago | 2 answers | 0

2

answers

Answered
regular expressions resources and regular expression problem
Another way to get good at regular expressions is to practice on Cody with <http://www.mathworks.com/matlabcentral/cody/?term=ta...

11 years ago | 1

Answered
Single title spanning a nxn subplot
You might want to try <http://www.mathworks.com/matlabcentral/fileexchange/7772-suplabel suplabel> from the File Exchange.

12 years ago | 0

| accepted

Answered
Function to format number as currency?
Using SPRINTF is the way to go, but getting the commas right is tricky. I turned this into a question for Cody to see what folks...

12 years ago | 1

Answered
How to separate this DNA sequence?
Here's a simple way to chunk your DNA up into codons. Then you can just pull the rows off to get each triplet. >> sequence =...

12 years ago | 2

| accepted

Answered
Miller Cylindrical Projection
One option is to use the <http://www.mathworks.com/products/mapping/ Mapping Toolbox>, which has a function to do exactly this p...

12 years ago | 0

Answered
How do I get a parameter to resolve when following the '%%' section header definer while using 'publish' command?
Publishing using cell mode markup doesn't permit passing parameters in the way you describe. Section heads can't contain paramet...

13 years ago | 0

Answered
getting the variable size value
To find the size, use <http://www.mathworks.com/help/matlab/ref/size.html |size|>. [m,n] = size(X) m = size(X,dim) So t...

13 years ago | 0

Answered
Colouring stacked bar chart
Try Brandon Levey's <http://www.mathworks.com/matlabcentral/fileexchange/24021-hatch-fill-patterns-plus-color-invert Hatch fill ...

13 years ago | 0

| accepted

Answered
Passing data between two different GUI windows
Here's a tricky non-Guide way to do it. Change the data in the text box and press return to plot the data in figure 2. % Ma...

13 years ago | 0

Answered
Can one suppress the display of dataset objects triggered by mouseover (datatips)?
Mike's blog may be of service here: <http://blogs.mathworks.com/desktop/2008/01/28/exploring-your-data-with-datatips/ Exploring ...

13 years ago | 0

Answered
Decreasing scale on graphs
Is this what you're looking for? plot(Times,TDCall) set(gca,'XDir','reverse')

13 years ago | 0

Answered
How do I read Text from HTML file ?
Try something like this: url = 'http://www.example.com/'; html = urlread(url); % Use regular expressions to remove undesi...

13 years ago | 10

| accepted

Answered
How to implement a neural network feedforward backpropagation network?
A quick Google search turned up this MATLAB-based approach: <http://alumni.media.mit.edu/~faaborg/research/cornell/hci_neuralnet...

13 years ago | 0

Question


How do I write a good question for MATLAB Answers?
I want to get fast and accurate help with my question. What information should I include in the question? How should I phras...

13 years ago | 5 answers | 12

5

answers

Answered
Shortest Path
<http://www.mathworks.com/matlabcentral/fileexchange/?dir=desc&sort=downloads&term=authorid:90537 Joseph Kirk> has some files on...

13 years ago | 0

Answered
Simple example which explains contour plotting
Try these pages in the documentation for <http://www.mathworks.com/help/techdoc/creating_plots/f10-2524.html contour>.

13 years ago | 0

Answered
Can we "Watch" Answers?
Take a look at Randy's answer to this question: <http://www.mathworks.com/matlabcentral/answers/233-does-matlab-answers-provide-...

13 years ago | 2

Answered
Eigenvector calculation
When I run the eig command (see help here: <http://www.mathworks.com/help/matlab/ref/eig.html eig>) I don't get any complex eige...

13 years ago | 0

| accepted

Answered
How do I remove the empty cells from a vector of cells?
Here's one way to do it. strs = {'one','','two','three','','','four',''}; empties = find(cellfun(@isempty,strs)); % ...

13 years ago | 3

Question


How do I remove the empty cells from a vector of cells?
I have a vector of cells which contain strings. Some of the cells in the vector are empty. I want to remove the empty cells from...

13 years ago | 5 answers | 7

5

answers

Answered
How do I cut H and E planes from a 3D plot of an antenna radiation pattern?
You might find Eric Ludlam's <http://www.mathworks.com/matlabcentral/fileexchange/764-sliceomatic Sliceomatic> file (from the Fi...

13 years ago | 1

Answered
How do I simplify a symbolic expression into numeric output?
It looks like you've got a symbolic expression. You can substitute real numeric values for x1 and x2 like this: % Defin...

13 years ago | 6

Question


Why does 1 - 2/3 - 1/3 not equal zero?
Try this: >> 1 - 2/3 - 1/3 MATLAB gets the wrong answer: 5.5511e-017

14 years ago | 4 answers | 8

4

answers

Answered
How do I turn off the grid in a polar plot?
It's a shame that it's not easier to do this, but here is a Solution that explains how to do it: <http://www.mathworks.com/sup...

14 years ago | 2

| accepted

Question


How do I turn off the grid in a polar plot?
For a normal MATLAB plot, I can turn the grid off and on with the |grid| command. x = 1:10; plot(x,sin(x)) grid on ...

14 years ago | 3 answers | 2

3

answers

Answered
How to extract leading non-zero digit?
You'll probably need to do some kind of textual manipulation. Here's one way to do it. function y = leadingDigit(x) s = s...

14 years ago | 4