photo

Sandy


Last seen: ongeveer een jaar ago Active since 2012

Followers: 0   Following: 0

Message

Statistics

  • Thankful Level 4

View badges

Feeds

View by

Question


Change file header and save the file -- do this for all files in directory.
Hello MatLab Community, I need help with some data text files. I have various text files with different names. I want to load e...

ongeveer een jaar ago | 1 answer | 0

1

answer

Question


How to remove a whole row of data?
I have a column of data, A. I have a data matrix, X. I want to go through column A and see if each one of the entries in column ...

bijna 8 jaar ago | 2 answers | 0

2

answers

Question


How to count number of words in a text file?
I have a text file with a large number of words, 'filename.txt'. I have a column of words 'A'. Example: A = ...

bijna 8 jaar ago | 2 answers | 0

2

answers

Question


How could I use a loop in this case?
This is going to be a little difficult to explain. I have a data set in the following format: 2010 08 09 07 14 40....

bijna 8 jaar ago | 2 answers | 0

2

answers

Question


What am I doing wrong with this function?
I have the following code: data = textread('new_data.txt'); D = sortrows(data,[11 7], {'ascend' 'descend'}); I get th...

bijna 8 jaar ago | 1 answer | 0

1

answer

Question


How to convert char to number?
I have a data set that I am trying to format as follows: month = data (:, 2); % (2276x1) month =sprintf('%02d\n',month...

bijna 8 jaar ago | 1 answer | 0

1

answer

Question


How can I format some numbers and pad them with zeros?
I have a data set where I have columns of data in the following format. 98.23 98.36 78.255 100.56 I basically w...

bijna 8 jaar ago | 1 answer | 0

1

answer

Question


How to end ginput?
I have a code that uses ginput to gather data. I keep getting this message when I am done gathering data and close the figure. ...

bijna 8 jaar ago | 1 answer | 0

1

answer

Question


How to navigate between figure windows?
I am using a code that plots a large number of data. The data set is so large that the figure is plotted in sections and the nex...

bijna 8 jaar ago | 1 answer | 0

1

answer

Question


How to find eigen vectors?
I am using: A= [-5, 2; 2, -2]; [EigVec, EigVal] = eig(A) If I use Wolfram, I obtain Eigen Vectors = [1,2;1, -0.5]. Si...

meer dan 8 jaar ago | 1 answer | 0

1

answer

Question


isequal functions is not working, what am I doing wrong?
I have the following code, the result tells me it's false. What am I ding worng? A = [(1/sqrt(3)), (-1/sqrt(2)), (1/sqrt(...

meer dan 8 jaar ago | 1 answer | 0

1

answer

Question


How can I find the average between two points?
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...

bijna 9 jaar ago | 2 answers | 0

2

answers

Question


How to use user input data in my code?
I'd ask the user to input a station name. Example: prompt = 'What is the station name?' name = input(prompt); Then I'...

bijna 9 jaar ago | 1 answer | 0

1

answer

Question


Image area calculation and edge detection...
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 ...

meer dan 9 jaar ago | 1 answer | 0

1

answer

Question


How do I use text for ticks on X axis?
I have a loop that gives a variable a different name: EX i = 1; while i < 5 if i == 1 name = ...

ongeveer 10 jaar ago | 1 answer | 0

1

answer

Question


How can a draw a line between two points?
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...

ongeveer 10 jaar ago | 2 answers | 0

2

answers

Question


How do I find the index of a known number? (reverse indexing?)
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?...

ongeveer 10 jaar ago | 1 answer | 0

1

answer

Question


How to calculate a cumulative sum in a loop?
I have a loop that looks like this: for a = 1: 9 for b = 1 : 1000 for c = 1 : 1000 image =...

meer dan 10 jaar ago | 1 answer | 0

1

answer

Question


I'd like to create a loop that each time adds a new line to a .txt file.
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...

meer dan 10 jaar ago | 2 answers | 0

2

answers

Question


I have datenum() error ?
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...

meer dan 10 jaar ago | 1 answer | 0

1

answer

Answered
How can I get MATLAB to plot a date on the x-axis?
Hi dpb. I tried it this way, but for some reason it's plotting all my data as one date.

meer dan 10 jaar ago | 0

Question


How can I get MATLAB to plot a date on the x-axis?
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...

meer dan 10 jaar ago | 3 answers | 0

3

answers

Question


How to find mode between two columns?
I have two variables . They are each in a column. I want to find the most common pairs between the two columns. EX: ...

bijna 11 jaar ago | 1 answer | 0

1

answer

Question


Is there a way to find the 'mode' of a histogram?
I generated a histogram (hist3) using two variables, is there a way to find the 'mode' from this histogram? Thanks !

bijna 11 jaar ago | 1 answer | 0

1

answer

Question


How to make an if/else statement
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...

bijna 11 jaar ago | 2 answers | 0

2

answers

Question


How can I make a contour map from a scatter plot?
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...

bijna 11 jaar ago | 1 answer | 0

1

answer

Question


How can I make contour lines smoother?
How can I make contour lines smoother?

bijna 11 jaar ago | 3 answers | 0

3

answers

Question


How can I delete a row of numbers in which the number in the first column is less than a threshold?
How can I delete a row of numbers in which the number in the first column is less than a threshold?

bijna 11 jaar ago | 2 answers | 0

2

answers

Question


Contour map from hist3()?
Contour map from hist3()?

bijna 11 jaar ago | 1 answer | 0

1

answer

Answered
How to subtract vectors with different number of entries?
Both of these work perfectly. Thanks!

ongeveer 11 jaar ago | 0

Load more