# Brianna Miranda

**Content Feed**

提问

How to iterate a structure name and save directory in a for loop?

I am trying to use a for loop that saves parameters for 10 different files into a structure, but I am not sure how to get the na...

6 days 前 | 2 个回答 | 0

### 2

个回答提问

How to create a vector that repeats 5 values per increment in a for loop?

I have a vector I am trying to create that contains the numbers 100-1000 and is incremented by 50. But I want the vector to cont...

8 days 前 | 2 个回答 | 0

### 2

个回答提问

How to create a time vector that is incremented between two datetime strings?

I am trying to plot local time as a function of pressure recordings but I have to manually create the time vector since my data ...

17 days 前 | 3 个回答 | 0

### 3

个回答提问

How to pick two values along a noisy amplitude spectrum that correspond to a specific value?

I am trying to pick two values along a amplitude spectrum (P1 vector) that are approximately equal to half the maximum amplitude...

2 months 前 | 1 个回答 | 0

### 1

个回答提问

How to find the maximum value between two indices in an array?

I am trying to find the maximum power spectrum value between two indices in an array that correspond to specific frequencies in ...

3 months 前 | 1 个回答 | 0

### 1

个回答提问

How do you make a label for a point on a plot separate into multiple lines?

Please do not send the matlab help page for text as an answer, I have reviewed that form and it does not address the question I ...

4 months 前 | 1 个回答 | 0

### 1

个回答提问

How to give one x and y axis label when using tiled layout('flow')?

I am using tiled layout('flow') to plot a series of 20 plots on one figure. I want to have just one x and one y label for the en...

4 months 前 | 1 个回答 | 0

### 1

个回答提问

How can I remove harmonics from my spectrogram?

There are several harmonics plotting in my power spectral density spectrogram but I only want to include the first one. How can ...

6 months 前 | 1 个回答 | 0

### 1

个回答提问

How to find the maximum value of C that corresponds to a set of X,Y coordinates?

I have a spectrogram plot that contains X,Y and C. I want to find the maximum values of C from that spectrogram and also the XY ...

6 months 前 | 2 个回答 | 0

### 2

个回答提问

Why MATLAB on Mac reads functions as scripts instead of functions?

Whenever I attempt to call on a function in my script I get an error stating "Execution of script rd_segy as a function is not s...

7 months 前 | 0 个回答 | 0

### 0

个回答提问

How to save figures using mkdir if paths are variables?

I am trying to save all of my figures into a directory that is generated using the date and time of running the code as the file...

9 months 前 | 1 个回答 | 0

### 1

个回答提问

Is there any MATLAB documentation about fourier transforming into the frequency-time domain for a frequency vs time plot?

I have a data set that I have fourier transformed into amplitude vs frequency and amplitude vs time plots, but I want to make a ...

9 months 前 | 0 个回答 | 0

### 0

个回答提问

Why can't Matlab figures be opened using Matlab on MAC?

I am trying to open saved matlab figures on my mac but when I open the .fig file I get a Finder error stating "there is no appli...

9 months 前 | 1 个回答 | 0

### 1

个回答提问

Why do I get this error when loading a Matlab created file?

This is the full error message that I am receiving. I created these files in matlab and when I try to load them I get the follow...

9 months 前 | 1 个回答 | 0

### 1

个回答提问

How to plot the diagonal of a spectrum as a 2d plot?

I have a power spectral density spectrogram with x=time, y=frequency, c=power spectral density. My plot has very high PSD values...

9 months 前 | 0 个回答 | 0

### 0

个回答提问

Index in position 2 is invalid. Array indices must be positive integers or logical values.

I am getting this error "Index in position 2 is invalid. Array indices must be positive integers or logical values." but am not ...

10 months 前 | 1 个回答 | 0

### 1

个回答提问

How to plot z component as a colorbar with lines connecting scatter plot points?

I have a data set with x, y and z scalar components. I am trying to make an x vs y plot with z shown as a colorbar. My current c...

10 months 前 | 1 个回答 | 0

### 1

个回答提问

How to insert a variable and datetime array into a graph title?

I have a graph that I want to include the date&time it was made and the number of data stacks the plot contains on it. The numbe...

11 months 前 | 1 个回答 | 0

### 1

个回答提问

How do I acquire multiple datasets using readwrite?

I am trying to record multiple stacks of data. This is the code I have so far, but it overwrites the existing saved file when I ...

11 months 前 | 0 个回答 | 0

### 0

个回答提问

How do I save a figure to a different directory with a specific figure name?

I am trying to save a figure with the type and dateTime variables included in the savefile name. My code uses the input variable...

11 months 前 | 1 个回答 | 0

### 1

个回答提问

How do I make a vector containing 30 cells that range from -5 to 45?

I need to create a vector of length 30 with values that range from -5 to 45: [-5...........................................45] ...

11 months 前 | 1 个回答 | 0

### 1

个回答提问

How to make a piecewise function without using syms?

I am trying to plot the following piecewise function without using syms but it plots as a horizontal line. This is the code I'm ...

1 year 前 | 1 个回答 | 0

### 1

个回答提问

How do you add a sampling interval to a low pass filter?

How do I add a sampling interval of .1s to a low pass filter if I am using the fdesign.lowpass feature? This is what I have so f...

1 year 前 | 0 个回答 | 0

### 0

个回答提问

How to generate the sine function for the DataAcquisition Digilent Analog Discovery tutorial?

I'm trying to create a sine function to use in the DataAcquisition toolbox tutorial for the Digilent Analog Discovery 2. My plot...

1 year 前 | 0 个回答 | 0

### 0

个回答提问

How do I save a figure as a png to a different directory?

I need help saving my figure to a different directory than the one I'm running my code in. The directory I want to save it to is...

1 year 前 | 1 个回答 | 0

### 1

个回答提问

How do you define a structure array?

I have a function that defines the following variables: xmin = procPar.xmin; tmin = procPar.tmin; fmin = procPar.fmin; I'm u...

1 year 前 | 1 个回答 | 0

### 1

个回答提问

What do the x and y axes represent in a discrete fourier transform matrix imagesc plot?

I made a dft matrix using W = dftmtx(128) and plotted it's real and imaginary parts using imagesc. What should the axis labels b...

1 year 前 | 1 个回答 | 0

### 1

个回答提问

How do I add zero padding to this convolution?

% My question is how do I add zero padding to this plot? I'm trying to show the effects of circular convolution with and without...

1 year 前 | 1 个回答 | 0

### 1

个回答提问

Need help getting my delta functions to work

I'm trying to take the Fourier transform of two delta function but I'm having a problem with writing the code for my delta funct...

1 year 前 | 1 个回答 | 0