Feeds
질문
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...
1년 초과 전 | 답변 수: 1 | 0
1
답변질문
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 ...
8년 초과 전 | 답변 수: 2 | 0
2
답변질문
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 = ...
8년 초과 전 | 답변 수: 2 | 0
2
답변질문
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....
8년 초과 전 | 답변 수: 2 | 0
2
답변질문
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...
8년 초과 전 | 답변 수: 1 | 0
1
답변질문
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...
8년 초과 전 | 답변 수: 1 | 0
1
답변질문
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...
8년 초과 전 | 답변 수: 1 | 0
1
답변질문
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. ...
8년 초과 전 | 답변 수: 1 | 0
1
답변질문
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...
8년 초과 전 | 답변 수: 1 | 0
1
답변질문
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...
거의 9년 전 | 답변 수: 1 | 0
1
답변질문
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(...
거의 9년 전 | 답변 수: 1 | 0
1
답변질문
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...
9년 초과 전 | 답변 수: 2 | 0
2
답변질문
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'...
9년 초과 전 | 답변 수: 1 | 0
1
답변질문
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 ...
거의 10년 전 | 답변 수: 1 | 0
1
답변질문
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 = ...
10년 초과 전 | 답변 수: 1 | 0
1
답변질문
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...
10년 초과 전 | 답변 수: 2 | 0
2
답변질문
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?...
10년 초과 전 | 답변 수: 1 | 0
1
답변질문
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 =...
대략 11년 전 | 답변 수: 1 | 0
1
답변질문
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...
대략 11년 전 | 답변 수: 2 | 0
2
답변질문
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...
대략 11년 전 | 답변 수: 1 | 0
1
답변답변 있음
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.
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.
대략 11년 전 | 0
질문
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...
대략 11년 전 | 답변 수: 3 | 0
3
답변질문
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: ...
11년 초과 전 | 답변 수: 1 | 0
1
답변질문
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 !
11년 초과 전 | 답변 수: 1 | 0
1
답변질문
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...
11년 초과 전 | 답변 수: 2 | 0
2
답변질문
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...
11년 초과 전 | 답변 수: 1 | 0
1
답변질문
How can I make contour lines smoother?
How can I make contour lines smoother?
11년 초과 전 | 답변 수: 3 | 0
3
답변질문
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?
11년 초과 전 | 답변 수: 2 | 0
2
답변답변 있음
How to subtract vectors with different number of entries?
Both of these work perfectly. Thanks!
How to subtract vectors with different number of entries?
Both of these work perfectly. Thanks!
11년 초과 전 | 0