Top 5% contributor
Hi dpb. I tried it this way, but for some reason it's plotting all my data as one date.
Answered 2 years ago
Both of these work perfectly. Thanks!
I have two data files with two lines of data each.
Data Set 1:
Asked 2 years ago
Would it be possible for you to post this code? I need to work with something similar. Thank you.
3 years ago
So, I basically have a column of data composed of numbers and NaNs. I want my code to go through the column and wherever it find...
Asked 3 months ago
I have a plot that looks like the one below. I want to make vertical lines that connect each individual pair of blue & red point...
Asked 1 year ago
I have a loop that generates a vector each time it loops through .
my_vector = [ 4, 5, 6,7];
I'd like to create a loop tha...
I have a dataset with column1 = date and column2 = data. The problem is that my date is in yyyymmdd format. How can I get MATLAB...
My data file consists of 3 columns and 100,000 rows.
I want my code to go down a series of rows and test each row for the follo...
How can I delete a row of numbers in which the number in the first column is less than a threshold?
I have a series of data files (*.dat). They each contain two columns of data (magnitude and time). I need to load in all of thes...
Asked 3 years ago
I'd ask the user to input a station name. Example:
prompt = 'What is the station name?'
name = input(prompt);
I have a loop that gives a variable a different name:
i = 1;
while i < 5
if i == 1
name = ...
I have a matrix M.
I have a number XXXX.
I want to find the index of this number within my matrix M.
How can I do this?...
I have a loop that looks like this:
for a = 1: 9
for b = 1 : 1000
for c = 1 : 1000
I load in a column of dates in the format yyyymmdd, then try to plot them. When I actually plot them I get dates looking like Q2...
I have two variables . They are each in a column. I want to find the most common pairs between the two columns.
I have a set of x-y coordinates of points (around 100,000 of them) and I want to make a contour map of their concentration in th...
How can I make contour lines smoother?
Contour map from hist3()?
I have the following , but would like to add station names...
worldmap([25 50],[-125 -110])
I have a series of data files with various columns of data (*.dat). The first column in these files has earthquake magnitudes an...
I have an amateur microscope image I would like to analyze. The image is attached. I want to create a code that selects the red ...
Asked 10 months ago
I generated a histogram (hist3) using two variables, is there a way to find the 'mode' from this histogram?
In my code I ask the user to provide a variable (number) using a pop-up. Using that number, Matlab generates a series of plots. ...
I need to make something similar to the attached image, given the
strike, rake, and dip of an earthquake plane?
Join the conversation