Feeds
질문
xlsread from different folders
I have 4 folders in the same directory where each folder contains ~19 .xls files. I have written the code below to obtain the ...
거의 13년 전 | 답변 수: 1 | 0
1
답변질문
renaming a cell
I have a 1x4 cell called 'naming' which contain names of 4 data sets e.g. 'data1', 'data2' etc... I have another 1x4 cell cal...
거의 13년 전 | 답변 수: 2 | 0
2
답변질문
folder in a directory
How do you use dir to obtain the names of folders in a directory. I can use files = dir('*.xls'); to obtain infor...
거의 13년 전 | 답변 수: 2 | 0
2
답변질문
folders containing excel spreadsheets
I have 4 folders each consisting of several (>10) excel spreadsheets. How is it possible to extract the last worksheet of each s...
거의 13년 전 | 답변 수: 1 | 0
1
답변답변 있음
Multiple import/edit of xls files
I have a question which is similar to this. I have a code which loads data from several spreadsheets into excel: files = di...
Multiple import/edit of xls files
I have a question which is similar to this. I have a code which loads data from several spreadsheets into excel: files = di...
거의 13년 전 | 0
질문
using actxserver
I have imported data from excel into matlab where I have several spreadsheets. I have used: files = dir('*.xls'); %read ...
거의 13년 전 | 답변 수: 2 | 0
2
답변질문
speed up xlsread
I have imported data from excel into matlab where I have several spreadsheets. I have used: files = dir('*.xls'); %read ...
대략 13년 전 | 답변 수: 2 | 0
2
답변질문
tab delimited .txt file
I'm attempting to load data from excel into matlab, then alter it a bit and then load it into a .txt file. The code is below: ...
대략 13년 전 | 답변 수: 1 | 0
1
답변질문
append .txt file
I have a vector of DateTime in the format yyyy-mm-dd HH:MM:SS and a matrix of data, DateTime and data have the same number of ro...
대략 13년 전 | 답변 수: 2 | 0
2
답변질문
excel dates
I understand that matlab cannot read excel dates in the sense that it changes hh:mm into decimals. This being said, is there a...
대략 13년 전 | 답변 수: 2 | 0
2
답변질문
dlmwrite problem
Can someone help put the final touches to the following code. Im attempting to create a .txt file which has a first row specifie...
대략 13년 전 | 답변 수: 1 | 0
1
답변질문
matrix
I have a matrix where the first column contains values of either 211, 212 or 213 where the rows starting with 211 contains the d...
대략 13년 전 | 답변 수: 1 | 0
1
답변질문
tab delimited .txt file
In order to write a matrix as a tab delimited .txt file I can use the following command: dlmwrite(Filename, Data, 'delimiter'...
대략 13년 전 | 답변 수: 3 | 1
3
답변질문
text
I have a matrix whixh i am converting to a .txt file, I need to include a header so that each column in the matrix can be define...
대략 13년 전 | 답변 수: 1 | 0
1
답변질문
excel
In order to get an excel worksheet into matlab I have used the following: files = dir('*.xls'); for i=1:length(files); ...
대략 13년 전 | 답변 수: 1 | 0
1
답변질문
matrix
I have a matrix (100000x16) where the columns refer to depths and the rows refer to days and the data is of temperature. Some of...
대략 13년 전 | 답변 수: 2 | 0
2
답변질문
find values
If I have a matrix where each column refers to depth and each row refers to days, how is it possible to find and keep the values...
대략 13년 전 | 답변 수: 1 | 0
1
답변질문
loops
If I have a cell structure q1{1,i}{j,1} where i=1:18, and j=1:20 how is it possible to write a loop that can be used to extract ...
대략 13년 전 | 답변 수: 0 | 0
0
답변질문
excel files
I have a folder with several excel spreadsheets, each excel spreadsheet contains data for a certain time period i.e. the first s...
대략 13년 전 | 답변 수: 1 | 0
1
답변질문
equation
How would you integrate he following equation in matlab: Zv=int_{0}^{zd}(z*Az*dz) where dz refers to integrate with res...
대략 13년 전 | 답변 수: 1 | 0
1
답변답변 있음
loop
failing this, how is it possible to use mat2cell but define which values I want in each cell. The matrix I have has the first co...
loop
failing this, how is it possible to use mat2cell but define which values I want in each cell. The matrix I have has the first co...
대략 13년 전 | 0
질문
loop
I have a script which reads .dat files into matlab. I have written the script to work for any year, as in the specific year that...
대략 13년 전 | 답변 수: 1 | 0
1
답변질문
averaging
I have a matrix composed of 12 columns representing depths from 1 to 12 and I have thousands of rows which represent 2 minute in...
대략 13년 전 | 답변 수: 3 | 0
3
답변질문
matrix
I need to calculate the difference between values in a matrix without using the diff command. Is this done with a loop? I've tri...
대략 13년 전 | 답변 수: 1 | 0
1
답변질문
Equations
Is it possible to solve an integral equation in matlab? I am writing a script for calculating some parameters in lake dynamics a...
대략 13년 전 | 답변 수: 1 | 0
1
답변질문
loops
Is there a better way of calculating values from within a matric without the use of a loop. For example: I need to calculate t...
대략 13년 전 | 답변 수: 1 | 0
1
답변답변 있음
decimal day
All of these seem to work i.e. they give the same answer, but i though that decimal day would be given in the form of day 1.2334...
decimal day
All of these seem to work i.e. they give the same answer, but i though that decimal day would be given in the form of day 1.2334...
대략 13년 전 | 0
질문
decimal day
Any ideas of how to convert year, day of year(1:365), and time (i.e. 17:59 is given as 1759) to decimal day. I've already cha...
대략 13년 전 | 답변 수: 5 | 0
5
답변질문
Temperature data
Does anyone know of the best way to do the following: I have temperature data for a lake which is taken every 2 meters, the d...
대략 13년 전 | 답변 수: 2 | 0