Community Profile

# J. Webster

### University of Mississippi

Active since 2016

Long time acoustics signal processor.

#### Content Feed

View by

Reading csv files that have mixed string and numbers, with inconsistent columns and rows
I think the way I'd approach this is with something like the following. fid = fopen('myfile.csv'); myline = fgetl(fi...

6 years ago | 0

| accepted

Question

Report Generator suddenly stopped working... Undefined function or variable 'report'.
We purchased the report generator add on a few weeks ago. I've been using it regularly. This morning I went to start it up a...

6 years ago | 0 answers | 0

### 0

interpolate only between columns
Can you just transpose the matrix before you interpolate? Y = Y';

6 years ago | 0

Convert Minutes to Seconds
no idea why it behaves that way. However, you should check out <http://www.mathworks.com/help/matlab/ref/datetick.html dateti...

6 years ago | 0

Question

Having trouble with fonts and centering a plot using Report Generator
Currently using the Report Generator app on Linux to generate pdf reports. When I use the Direct PDF (Default Template) forma...

6 years ago | 1 answer | 0

### 1

How to see the time difference of the same day for different time zones?
also look at tzoffset. Not sure what versions it's in http://www.mathworks.com/help/matlab/ref/tzoffset.html

6 years ago | 0

line thickness issue, LineWidth acts as an integer
as far as I know the only available line widths are 0.5, 1.0, 2.0, 3.0, 4.0 etc...I suspect it's a floating point to accommodat...

6 years ago | 0

Plot the signals y(t)=sin(8πt) and g(t)=sin(18πt). Then sample both with a sampling period of 1/13s. Sketch the discrete signals. What do you observe?
Since t is an array, and you want y and g to be arrays, you need to use the . notation for operations... so for example, repl...

6 years ago | 0

How can I make a title/label bold and large in LaTeX?
I don't have superlabel installed, but you might try something like this... [a,h]=suplabel('super Title' ,'t'); set(h,...

6 years ago | 1

Extracting a sub-hertz modulating wave.
Why not just use a low pass filter?

6 years ago | 0

transfer function frequency response
Take the fourier transform of both signals, then the transfer function will be the FFT of the cavity divided by the FFT of the r...

6 years ago | 0

Level of noise in fft
This looks like you aren't windowing your data properly before you take the fft of it. Try applying a Hamming or Hanning window...

7 years ago | 0

| accepted

Question

question about when a callback function is supposed to be called.
In my program, which is written in App Designer, I have a Text Edit Field which contains the path to my data directory. One c...

7 years ago | 1 answer | 0

### 1

Instead of generating buttons, I think it would be better to populate a Drop Down with the names of the files, and open them tha...

7 years ago | 0

Table won't sort?

7 years ago | 0

scaling down 0x axis coordinates of a graphic
Is this what you're looking for? x = 1:.5:56; %example initial array with spacing of 1/2 from 1 to 56 %subtract the...

7 years ago | 0

Anyone know where I can find the source code for conv2.m?
I found this. Though I couldn't tell you if its the one that works for you or not. <http://freesourcecode.net/matlabprojects...

7 years ago | 0

How can I save a figure within app designer?
anybody??

7 years ago | 0

How to read Multiple CSV files in multiple sub folders
Not sure exactly how you want to merge the csvs, but the basic way to run through all the directories is this... inp...

7 years ago | 0

Double exponential fits, but single curves away from the data- why?
very steep power laws can be notoriously difficult to fit, since small changes in x lead to big changes in y, it makes it hard o...

7 years ago | 0

| accepted

Question

How can I save a figure within app designer?
I've developed an application using the new App Designer. I'd like to have users be able to click a button and save a figure to...

7 years ago | 15 answers | 9

### 15

A moving point along a graph.
You put the plot inside of a loop and update the position of the point each time... x = 0:.01:6; y = sin(x); px =...

7 years ago | 1

Where is SPI simulink block for raspberry ?
This question should be asked on a raspberry pi board, but... I believe it depends on which raspberry pi you're using... <ht...

7 years ago | 0

How to save values as one variable from a for loop
save them in an array. Say you process the loop N times... myArray = zeros(1,N); %initialize array to all zeros for i...

7 years ago | 0

| accepted

I am getting Subscripted assignment dimension mismatch in the following code.
Gonna be hard to troubleshoot this without seeing what hog_features_vector() returns, or what the dimensions of T are. my gue...

7 years ago | 0

I am getting this error:
I don't get an error, are you sure the code above is what you have in your program?

7 years ago | 0

plotting points with different colors
something like this maybe? RegionsMap = randi([1 4],10,10); x = rand(1,10); y = rand(1,10); figure(10); ...

7 years ago | 1

How can i convert multiples lines into 1 text string (big block)
file = textread('text.txt', '%s', 'whitespace',''); file will be a cell array containing the string you want.

7 years ago | 0