photo

sal135


Con actividad desde 2016

Followers: 0   Following: 0

Estadística

  • Thankful Level 3

Ver insignias

Feeds

Ver por

Pregunta


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...

más de 7 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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 ...

más de 7 años hace | 2 respuestas | 0

2

respuestas

Pregunta


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,...

más de 7 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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 ...

casi 8 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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(...

casi 8 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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)...

casi 8 años hace | 1 respuesta | 0

1

respuesta