photo

Sandy


Last seen: plus d'un an il y a Actif depuis 2012

Followers: 0   Following: 0

Message

Statistiques

  • Thankful Level 4

Afficher les badges

Feeds

Afficher par

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

plus d'un an il y a | 1 réponse | 0

1

réponse

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

environ 8 ans il y a | 2 réponses | 0

2

réponses

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

environ 8 ans il y a | 2 réponses | 0

2

réponses

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

plus de 8 ans il y a | 2 réponses | 0

2

réponses

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

plus de 8 ans il y a | 1 réponse | 0

1

réponse

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

plus de 8 ans il y a | 1 réponse | 0

1

réponse

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

plus de 8 ans il y a | 1 réponse | 0

1

réponse

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

plus de 8 ans il y a | 1 réponse | 0

1

réponse

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

plus de 8 ans il y a | 1 réponse | 0

1

réponse

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

presque 9 ans il y a | 1 réponse | 0

1

réponse

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

presque 9 ans il y a | 1 réponse | 0

1

réponse

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

environ 9 ans il y a | 2 réponses | 0

2

réponses

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

plus de 9 ans il y a | 1 réponse | 0

1

réponse

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

presque 10 ans il y a | 1 réponse | 0

1

réponse

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

plus de 10 ans il y a | 1 réponse | 0

1

réponse

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

plus de 10 ans il y a | 2 réponses | 0

2

réponses

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

plus de 10 ans il y a | 1 réponse | 0

1

réponse

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

presque 11 ans il y a | 1 réponse | 0

1

réponse

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

presque 11 ans il y a | 2 réponses | 0

2

réponses

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

presque 11 ans il y a | 1 réponse | 0

1

réponse

Réponse apportée
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.

presque 11 ans il y a | 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...

presque 11 ans il y a | 3 réponses | 0

3

réponses

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

plus de 11 ans il y a | 1 réponse | 0

1

réponse

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 !

plus de 11 ans il y a | 1 réponse | 0

1

réponse

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

plus de 11 ans il y a | 2 réponses | 0

2

réponses

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

plus de 11 ans il y a | 1 réponse | 0

1

réponse

Question


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

plus de 11 ans il y a | 3 réponses | 0

3

réponses

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?

plus de 11 ans il y a | 2 réponses | 0

2

réponses

Question


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

plus de 11 ans il y a | 1 réponse | 0

1

réponse

Réponse apportée
How to subtract vectors with different number of entries?
Both of these work perfectly. Thanks!

plus de 11 ans il y a | 0

Charger plus