Community Profile

photo

Chad Gilbert


Active since 2012

M&S; Systems Engineering
Professional Interests: Modelling and Simulation; Naval warfare; Marine Ecology; Nerve Physiology

Statistics

All
  • First Review
  • First Submission
  • Thankful Level 1
  • Knowledgeable Level 2
  • First Answer
  • Tiles Challenge Master
  • Cody Challenge Master
  • Commenter
  • Promoter
  • Solver

View badges

Content Feed

View by

Answered
How to use an impoint?
See |help ginput|. A minimal working example: pcolor(rand); [x,y] = ginput(1); % User clicks a value. x = ...

nästan 9 år ago | 0

Answered
surf won't display zeros in the last row?
The |surf| command is plotting *from* 1 *to* 15. If you want to show the width of the 15th block, you'll need to supply data up ...

nästan 9 år ago | 1

| accepted

Answered
Creating Graphical User Interface for a Code
If you are new to MATLAB GUI programming, your best bet is to use GUIDE. Type 'guide' on the MATLAB command line to begin. There...

nästan 9 år ago | 0

Answered
GUI increment/decrement buttons linked to an Edit Text box
I've been thinking about doing something like this for a project I'm starting. Your question prompted me to just go make a first...

nästan 9 år ago | 1

| accepted

Answered
Generic Change of Directory
To cover most cases, you could do: cd ~/Desktop if you're running linux or Mac, Or: [a,b] = system('echo %UserP...

nästan 9 år ago | 0

Answered
Text in MATLAB plot with negativ coordinates
It might sound paradoxical, but if you set the horizontalalignment to 'right', instead of the default, 'left', your text should ...

ungefär 9 år ago | 0

Answered
What would you do?
I'd tend to choose |str2func|, merely because it makes it more obvious what I'm anticipating as an output.

ungefär 9 år ago | 1

| accepted

Answered
Parsing an array A based on trigger data in array B ?
If I save similar data out as a .csv file: A,B 1.303,1 1.61, 4,2 1.213, and then read them in with: ...

ungefär 9 år ago | 2

| accepted

Answered
How to read and manipulate binary numbers?
Strictly speaking, this should do it: >> a = [1 0 0 0 1 0 1 1]; >> b = 10*a(1:2:end) + a(2:2:end) b = ...

ungefär 9 år ago | 0

| accepted

Answered
I want to ask how can I send uint8 data through my serial communication?
You can convert numeric values in MATLAB to uint8 using the "uint8" command. See "help uint8" for more info. Or, you may need to...

ungefär 9 år ago | 0

Question


Parsing string into cell array "bash-script style"
I'd like to parse a custom scripting language, which reliably formats its various commands in the following format: cmd a...

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

1

answer