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 years 前 | 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 years 前 | 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 years 前 | 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 years 前 | 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 years 前 | 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 years 前 | 1 个回答 | 0