Community Profile

# J. Webster

### University of Mississippi

Attivo dal 2016

Long time acoustics signal processor.

#### Content Feed

Visto da

Risposto
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...

circa 7 anni fa | 0

| accettato

Domanda

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...

circa 7 anni fa | 0 risposte | 0

### 0

risposte

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

circa 7 anni fa | 0

Risposto
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...

circa 7 anni fa | 0

Domanda

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...

circa 7 anni fa | 1 risposta | 0

### 1

risposta

Risposto
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

circa 7 anni fa | 0

Risposto
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...

circa 7 anni fa | 0

Risposto
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...

circa 7 anni fa | 0

Risposto
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,...

circa 7 anni fa | 1

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

circa 7 anni fa | 0

Risposto
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...

circa 7 anni fa | 0

Risposto
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...

oltre 7 anni fa | 0

| accettato

Domanda

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...

oltre 7 anni fa | 1 risposta | 0

### 1

risposta

Risposto
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...

oltre 7 anni fa | 0

Risposto
Table won't sort?

oltre 7 anni fa | 0

Risposto
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...

oltre 7 anni fa | 0

Risposto
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...

oltre 7 anni fa | 0

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

oltre 7 anni fa | 0

Risposto
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...

oltre 7 anni fa | 0

Risposto
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...

oltre 7 anni fa | 0

| accettato

Domanda

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...

oltre 7 anni fa | 15 risposte | 9

### 15

risposte

Risposto
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 =...

oltre 7 anni fa | 1

Risposto
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...

oltre 7 anni fa | 0

Risposto
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...

oltre 7 anni fa | 0

| accettato

Risposto
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...

oltre 7 anni fa | 0

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

oltre 7 anni fa | 0

Risposto
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); ...

oltre 7 anni fa | 1

Risposto
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.

oltre 7 anni fa | 0

Risposto
Why are the results of my spectrogram sinusoidal?
You don't want just the real part of the fft, you want the magnitude of it. change s_real = real(s) to s_mag =...

oltre 7 anni fa | 0

| accettato

Risposto
Why doesn't my for loop work?
The method you are using...remove all elements in the array that aren't matchValue, then when done, counting the number of eleme...

oltre 7 anni fa | 0