Community Profile

# B.M.

### University of Maryland, College Park

Active since 2014

#### Content Feed

View by

Question

9 years ago | 2 answers | 0

### 2

Question

Why is a straight line being plotted at zero, in addition to my desired plot?
I'm plotting distance (X) versus different in duration of a sound signal across two different conditions (Y). When I plot jus...

9 years ago | 2 answers | 0

### 2

Question

Exist returning zero when file definitely exists; rehash not working
I have written a script to help organize my files, the main point of which is to group all graphics of a certain type into one f...

9 years ago | 2 answers | 0

### 2

Question

Assignment error with dir
I hate to ask what seems like such an idiotic question, but I can't just run my script because it hiccups at this step: d=di...

10 years ago | 1 answer | 0

### 1

Question

Removing characters from/breaking up file names
Hello all, I have a list of file names from which I'd like to remove some characters. Ideally, I'd like to break up the file ...

10 years ago | 2 answers | 0

### 2

Question

Extracting strings from cell of strings--and can you use logical vectors with strings?
Hi all, I'm trying to extract data from a structure. I've succeeded in pulling out what I want--which is a cell array of strings...

10 years ago | 1 answer | 0

### 1

Question

How to average within bins? Indexing again...
I am trying to average data corresponding to bins. Here is a simplified example (attached). I have real distances in the first c...

10 years ago | 2 answers | 0

### 2

Question

Binning with nested for and if/else loops
Hello all, I am trying to take a very long vector of distances and bin it. I'm indexing both the vector and a vector if bins. Cu...

10 years ago | 1 answer | 0

### 1

Question

Beginner - can't get plot/graph of "discrete logistic model"...
I am a beginner MATLAB user and am working on the following example: ++++++++++++++++++++++++++++ A very interesting ite...

10 years ago | 1 answer | 0

### 1

Question

Error with remainder (rem) and fix - change problem
Hi all, I'm working through the following problem: ===================================== Design an algorithm (i.e., writ...

10 years ago | 1 answer | 0

### 1

Question

Asked to plot using vectors of unequal sizes
I am working on the following problem: ======================================== We wish to examine the motion of a damped ...

10 years ago | 1 answer | 0

### 1

Question

Nested if/else loop not stepping through all steps; why?
Here is the problem I'm working on: ==================== A plumber opens a savings account with \$100,000 at the beginnin...

10 years ago | 2 answers | 0

### 2

Question

Beginner's question - why doesn't a variable overwrite when vectorizing a loop?
I am learning using the book "Matlab for Engineers and Scientists." Unfortunately this book does not provide answers to the exer...

10 years ago | 2 answers | 0

### 2

Question

Storing values in a for loop when input vector is not used in calculation
I'm working through examples in "Matlab for Engineers and Scientists" and am having trouble with this problem: ==============...

10 years ago | 1 answer | 0