sal135
2016년부터 활동
Followers: 0 Following: 0
Feeds
질문
How can I sort files into different folders?
I have a folder with n amount of files. Each file is saved as follows: 1n1 - type 3.csv 2n2 - type 3.csv 77fn.csv 3n...
7년 초과 전 | 답변 수: 1 | 0
1
답변질문
How can I replace NaN elements with the nearest value in the same column?
I am trying to replace NaN's in a vector field with the nearest value. % I have: M= NaN 12 18 14 NaN NaN NaN NaN ...
7년 초과 전 | 답변 수: 2 | 0
2
답변질문
How to vertically concatenate matrices inside a matrix?
Lets say have 2 matrices (A and B), Both A and B have 2 matrices inside (A1,A2 and B1, B2). A=1x2 A1=1x20, A2=1x20 A1,...
7년 초과 전 | 답변 수: 1 | 0
1
답변질문
fprintf cell array with strings and numbers
I have a matrix "C" <902x14cell> and I need to write it using fprintf. Before the matrix I have 10 lines of header that contain ...
거의 8년 전 | 답변 수: 1 | 0
1
답변질문
I have a script saved in a certain location but it needs to process multiple csv files in a different location. I keep getting an error saying the file is not found when it tries to do the csvread
folder= 'H:\Matlab\CSV\Processed_csv_Type3\Processed_csv_Type4'; if directory(k).isdir data=fullfile(...
거의 8년 전 | 답변 수: 1 | 0
1
답변질문
I have multiple csv files that need to be imported to later extract certain columns to write new files. However the code below doesnt return the column I need (column 1) I need the code to create a matrix "Time" for every file
folder= 'H:\Matlab\CSV\Processed_csv_Type3'; d = dir([folder '\*.csv']); for i=1:length(d) m{i}=csvread(d(i)...
거의 8년 전 | 답변 수: 1 | 0