photo

Damith


2014년부터 활동

Followers: 0   Following: 0

메시지

통계학

  • Thankful Level 5

배지 보기

Feeds

보기 기준

질문


Replace multiple rows by an array
Hi, I need to replace multiple rows of a matrix by one array. For example, c=[1 3 5 2 0] 5 2 9 1 4 2 1 0 6 ...

8년 초과 전 | 답변 수: 1 | 0

1

답변

질문


Reading a text file and rows with data
Hi, I need to read the text file shown in the image below using a MATLAB script.I have tried the code below and I appreciate ...

8년 초과 전 | 답변 수: 3 | 0

3

답변

질문


add a constant value for all columns for selected rows
Hi, I need to add a constant value (7000) to a selected rows as identified by the logical array index. But, I want to perform...

8년 초과 전 | 답변 수: 1 | 0

1

답변

질문


Writing an number array in specific format
Hi, How can I write a number array like this below in MATLAB? aa= 1 2 3 5 6 7 9 10 11 13 14 15...upto 10000 Thanks in...

8년 초과 전 | 답변 수: 1 | 0

1

답변

질문


add dd and mmm and time for matrix
Hi, I have a file like this (see the attached csv file) but I need to include dd mmm yyyy in first column and (arbitrary time...

거의 9년 전 | 답변 수: 1 | 0

1

답변

질문


Dynamically change folders within a folder using MATLAB
Hi, I would like to know whether I can change the folders dynamically within "streamflow_122" folder using MATLAB. I have ov...

거의 9년 전 | 답변 수: 2 | 0

2

답변

질문


reading a text file by correct date format
Hi, I have a text file like below. How can I read the 2nd column/format to read it using MATLAB. I am having a difficulty is ...

거의 9년 전 | 답변 수: 2 | 0

2

답변

질문


Add ddmmm to the year column
Hi, I have a matrix "c" has year column and I need to add "31May" in front of each year in the column. So, the resulting arra...

거의 9년 전 | 답변 수: 1 | 0

1

답변

질문


How to identify dulplicates and keep the one with maximum value
Hi, I need to perform the following using MATLAB. 1) Identify duplicate years in 2nd column and keep the one with maximum...

거의 9년 전 | 답변 수: 1 | 0

1

답변

질문


problem with converting dates to numbers
Hi, I want to convert the 3 rd column "date" to "numbers" using datanum function in a loop. I have few problems. 1. d...

거의 9년 전 | 답변 수: 3 | 0

3

답변

질문


Remove rows/text at the bottom of a csv file
Hi, I have over 2000 csv files and I can read the csv files and store in a cell array. But, all csv files has some text writt...

대략 9년 전 | 답변 수: 3 | 0

3

답변

질문


Conversion of dates to a different format
Hi, I need to convert 20110530 (2011 May 30) to 2011150 (which is the 150th day since January 01, 2011). How can i perform th...

대략 9년 전 | 답변 수: 3 | 0

3

답변

질문


read an array and output at intervals
Hi, I need to output 'out' as shown below using a MATLAB script. I want every year 106th row to read and output. Following sc...

대략 9년 전 | 답변 수: 1 | 0

1

답변

질문


Difficulty in storing output in a cell array
Hi, I have 3 data matrices (Flow, RowID, and nyears) and need to estimate maximum flow for each year. <</matlabcentral/an...

대략 9년 전 | 답변 수: 0 | 0

0

답변

질문


Refer columns in data types of two different tables
Hi, I need to to access the 2nd column of each cell of "yearnflow". The code I tried below does not work. Can somebody help ...

대략 9년 전 | 답변 수: 1 | 0

1

답변

질문


Obtain SUM for a 3D matrix
Hi, I have a precip matrix 360 x 280 x 365 and I want to obtain the sum for all the values in (:,:,365). For example, ...

9년 초과 전 | 답변 수: 1 | 1

1

답변

질문


Problem reading from a table using MATLAB v14
Hi, Can somebody help me to figure this out to read from table stored as RowID.mat? I simply need to read the second column...

9년 초과 전 | 답변 수: 1 | 0

1

답변

질문


Read file name to regexp function
Hi, Can somebody help me to modify the code below to obtain the output: matchStr = 'TRMM_1998_01_newntcl.csv str =...

9년 초과 전 | 답변 수: 0 | 0

0

답변

질문


Read csv files by regulare expression function
Hi, I have multiple .csv files in the following format from: TRMM_1998_01_newntcl.csv TRMM_1998_02_newntcl.csv ...

9년 초과 전 | 답변 수: 2 | 0

2

답변

질문


Read one specific file name
Hi, I have "TRMM_2000_01_01_newntcl.csv" and "TRMM_2000_01_0108_newntcl.csv" files in the same folder. I need to read ONLY "T...

9년 초과 전 | 답변 수: 2 | 0

2

답변

질문


define a sequential discrete color map with first color white.
Hi, I need to define a color map with 8 different sequential discrete colors like below. But, the first colot should be whil...

9년 초과 전 | 답변 수: 3 | 1

3

답변

질문


Call file names one by one from an array
Hi, I have the _"d"_ array (31x1 struct) which has file names. When I do the following in the command prompt: >> d.nam...

9년 초과 전 | 답변 수: 3 | 0

3

답변

질문


How to obtain length of number of columns which has data
Hi, I need to loop though the columns in " _mTot_ " and select the columns which has data (for example column 1 and 2). I...

9년 초과 전 | 답변 수: 2 | 0

2

답변

질문


Using fileparts and combining with a different file name
Hi, I need to strip the file name and extension (TRMM_1998_01_0103_newntcl.csv) to TRMM_1998_01_0103_newntcl and .csv and the...

9년 초과 전 | 답변 수: 2 | 0

2

답변

질문


Arrange cell matrix and get the sum
Hi, "out" cell matrix has 1x365 cells. I have few questions about dealing with cells. 1) I need to delete cells from 361 t...

9년 초과 전 | 답변 수: 2 | 0

2

답변

질문


Creating a matrix after giving initial conditions
Hi, I need to create a matrix when given the begin year, month, day, time and end year, month, day and time. for example; ...

9년 초과 전 | 답변 수: 3 | 0

3

답변

질문


Loop through csv file names and sum columns
Hi, I need to loop through all the files in a folder for file names for year, month and day (for example, TRMM_1998_01_0100_n...

9년 초과 전 | 답변 수: 1 | 0

1

답변

질문


Convert .csv file(s) to netCDF file
Hi, I need to convert the attached .csv file to netCDF file.(I have hundreds of similar .csv files) Is there a way to do in M...

9년 초과 전 | 답변 수: 1 | 0

1

답변

질문


read table in excel file and save under a different name
Hi, How can I read the table in a excel file with numbers and letters? This is saved as test.xls (see the attachment). Then I...

9년 초과 전 | 답변 수: 2 | 0

2

답변

질문


Delete rows from and interpolate
Hi, Is there a way to implement in MATLAB to check first row and end row and then select 3 hr intervals rows from column 4 fr...

거의 10년 전 | 답변 수: 2 | 0

2

답변

더 보기