Community Profile

photo

Brianna Miranda


Last seen: 1 month ago Active since 2021

Statistics

  • Thankful Level 3

View badges

Content Feed

View by

Question


How to write an exponent in an axis label when the matlab syntax doesn't work?
The matlab syntax for writing an exponent in an axis label is ylabel('e^t') but when I try to do this on my figure I get the f...

3 months ago | 1 answer | 0

1

answer

Question


How to stop this error from occurring every time I try to open a function or script in matlab?
I have a script that I am trying to open in matlab (just open, not run) and MATLAB gives me an error when I attempt to open the ...

6 months ago | 1 answer | 0

1

answer

Question


How do you remove the exponent from all y-axes on a stackploted figure?
I am trying to change my y-axes so that each one is a decimal instead of #x10^-4. How can I make this change for a stackedplot?

1 year ago | 2 answers | 0

2

answers

Question


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

1 year ago | 2 answers | 0

2

answers

Question


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

1 year ago | 2 answers | 0

2

answers

Question


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

1 year ago | 3 answers | 0

3

answers

Question


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

1 year ago | 1 answer | 0

1

answer

Question


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

1 year ago | 1 answer | 0

1

answer

Question


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

1 year ago | 1 answer | 0

1

answer

Question


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

1 year ago | 1 answer | 0

1

answer

Question


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

1 year ago | 1 answer | 0

1

answer

Question


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

1 year ago | 2 answers | 0

2

answers

Question


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

2 years ago | 0 answers | 0

0

answers

Question


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

2 years ago | 1 answer | 0

1

answer

Question


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

2 years ago | 1 answer | 0

1

answer

Question


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

2 years ago | 1 answer | 0

1

answer

Question


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

2 years ago | 1 answer | 0

1

answer

Question


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

2 years ago | 1 answer | 0

1

answer

Question


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

2 years ago | 1 answer | 0

1

answer

Question


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

2 years ago | 1 answer | 0

1

answer

Question


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

2 years ago | 1 answer | 0

1

answer

Question


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

2 years ago | 1 answer | 0

1

answer

Question


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

2 years ago | 1 answer | 0

1

answer

Question


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

2 years ago | 1 answer | 0

1

answer

Question


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

2 years ago | 1 answer | 0

1

answer

Question


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

2 years ago | 1 answer | 0

1

answer

Question


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

2 years ago | 0 answers | 0

0

answers

Question


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

2 years ago | 1 answer | 0

1

answer

Question


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

2 years ago | 1 answer | 0

1

answer

Question


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

2 years ago | 1 answer | 0

1

answer

Load more