Professor of Mathematics

Grand Valley State University

Allendale, Michigan

Professional Interests: optimization; support vector machines

Answered

Looking for an efficient way of finding elements in a cell array of character vectors

Thanks very much. The ismember will return a logical array. If I tack on the find command, I get the desired indices as well: f...

Looking for an efficient way of finding elements in a cell array of character vectors

Thanks very much. The ismember will return a logical array. If I tack on the find command, I get the desired indices as well: f...

1 year ago | 0

Question

Looking for an efficient way of finding elements in a cell array of character vectors

I have a cell array of character vectors, named "Channels", in which each entry corresponds a particular EEG channel label. I'd ...

1 year ago | 2 answers | 0

Question

Error message when plotting network graph in 2018a

I'm having a problem creating a simple network graph from a symmetric adjacency matrix. A=[0,1,1,0,0;1,0,1,0,0;1,1,0,1,1...

2 years ago | 2 answers | 0

Question

digraph plot bug in 2018a?

I've tried creating and plotting a simple digraph as follows: G = digraph([1 1], [2 3]); e = G.Edges; G = addedge(G,2,3...

2 years ago | 1 answer | 0

Answered

Sendmail and attaching images

Thank you so much. Am I correct that your code prompts the use to specify the attachment directory, as described below the line ...

Sendmail and attaching images

Thank you so much. Am I correct that your code prompts the use to specify the attachment directory, as described below the line ...

2 years ago | 0

| accepted

Question

Sendmail and attaching images

I'm encountering a problem when using sendmail to include an image attachment. I have sendmail set up so that it works. When I h...

2 years ago | 3 answers | 0

Question

How do I extract a portion of a string after a prescribed symbol?

I have a string of the form mystring='C\users\me\data\mymatrix.mat' What operation will permit me to create the string con...

3 years ago | 1 answer | 0

Question

How to find occurrences of a vector of strings in a cell string.

I have a cell string, named Channels, that lists 69 distinct EEG channels, A1, A2, ... To find an occurrence of a particular ...

3 years ago | 1 answer | 0

Question

How do I enumerate a family of 0-1 matrices

I'm trying to generate the family of all 10-by-3 matrices, where each matrix in the family, call it S, has the property that S(i...

4 years ago | 0 answers | 0

Question

How do I apply a multiple comparison method to linear mixed effect model results?

I have a data file (available for download at http://www.bodowinter.com/tutorial/politeness_data.csv and based upon the research...

4 years ago | 2 answers | 0

Question

How to combine linear mixed model results across different test subjects?

Suppose I have three test subjects and for each I have collected data and formulated a linear mixed-effects model using fitlme. ...

4 years ago | 0 answers | 0

Question

How to combine linear mixed model results across different test subjects?

Suppose I have three test subjects and for each I have collected data and formulated a linear mixed-effects model using fitlme. ...

4 years ago | 0 answers | 0

Question

What is the best way to create and implement a Kaiser bandpass filter subject to certain specified conditions?

I'm trying to create and implement a 100-300 Hz bandpass filter as described in a signal processing research article. Specifical...

4 years ago | 1 answer | 0

Question

How can I find multiple strings in a cell array?

I have a cell array of strings, called Channels, each containing an EEG channel label, e.g. 'A1', 'A2', ...., I'd like to fi...

4 years ago | 2 answers | 1

Question

Using the "find" command with arrays of cells

I have 91-by-1 cell array, named "Channels," in my workspace whose entries correspond to EEG channels. For example, Channels{...

5 years ago | 1 answer | 0

Question

4-D Matrix Indices Corresponding to an Entry Inequality

I have a 4-dim matrix, A, of size say 10-by-10-by-200-by-30. I would like to find all 4-tuples [i,j,f,t] for which A(i,j,f,t...

5 years ago | 1 answer | 0

Question

How do I convert a cell array of char to a single plot title?

I have a 3-by-1 cell, call it "labels," each of whose entries is a char. For example, labels{1,1}=A1,A2,A3 labels{2,1}=B1,B2,B...

5 years ago | 1 answer | 0

Question

Building mex files on Mac Yosemite OSX.

I have some .C files associated with a toolbox I recently downloaded. My C compiler is XCode 6.2 and I'm running Yosemite OS 10....

5 years ago | 1 answer | 0

Question

Axes resolution problems using VideoWriter

I'm facing some issues trying to improve the resolution of graph axes when creating an .avi file. Each frame in the file consist...

5 years ago | 0 answers | 1

Question

Converting matrix entries satisfying a threshold condition.

I have a matrix of numeric entries and wish to convert each entry above a specified threshold to one and all other entries to ze...

5 years ago | 1 answer | 0

Answered

Plotting tool for weighted digraphs

Thanks so much. I just tried out the gplotcolor.m and feel it shouldn't be too hard to visually convey the weight magnitudes by ...

Plotting tool for weighted digraphs

Thanks so much. I just tried out the gplotcolor.m and feel it shouldn't be too hard to visually convey the weight magnitudes by ...

6 years ago | 0

Question

Plotting tool for weighted digraphs

I'm looking a tool to plot a weighted, directed graph, specifically one represented by a 44-by-44 matrix having nonnegative entr...

6 years ago | 3 answers | 0

Question

How to compute the Instantaneous Power Spectrum ???

I'm looking for a means of computing the *instantaneous* *power spectrum* (IPS) of a signal, as described in the master's thesis...

6 years ago | 0 answers | 0

Question

Determining indices upon which a sequence of real numbers is convex

I have a vector, X, of real numbers which has a minimum at index k, where 1<k<n. I want to determine the smallest index k1 an...

6 years ago | 1 answer | 1

Question

Colormap with Image command

I'm trying to plot intensity levels from an 8-by-8 matrix A whose values vary from 0 to 1. As a start, I entered the following, ...

7 years ago | 1 answer | 0

Question

Plotting time-course of matrix entries

I have a matrix with real-valued, nonnegative entries. For entry (i,j), I wish to plot a filled circle at the point (i,j) whose ...

7 years ago | 1 answer | 0

Question

Averaging values in rank orderings with repeats

I'm wondering if there is a straightforward way for me to complete the following task. Suppose u=[1,3,2,2,4,7,2,5] and I wish...

7 years ago | 1 answer | 0

Question

Does anyone know of a simple script for performing the Hinkley-Page Cumulative Sum Algorithm?

I'm looking for a basic implementation of the Hinkley-Page Cumulative Sum Algorithm ('CUSUM') for automatic detection of change ...

7 years ago | 0 answers | 0

Question

Syntax for Computing the Complex Morlet Wavelet of a Discrete Signal

I'm trying to find the easiest way to compute the complex continuous Morlet transform of a discrete signal. If x is my signal, I...

8 years ago | 0 answers | 0

Question

Computing the Spectral Density Matrix of a Multivariate Time Series

I'm fairly new to signal processing, and I have a multivariate time series whose spectral density matrix I wish to compute using...

8 years ago | 0 answers | 1