Community Profile

photo

sal135


Aktiv seit 2016

Followers: 0   Following: 0

Statistiken

  • Thankful Level 3

Abzeichen anzeigen

Feeds

Anzeigen nach

Frage


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

fast 7 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

etwa 7 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


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

etwa 7 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

etwa 7 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

mehr als 7 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

mehr als 7 Jahre vor | 1 Antwort | 0

1

Antwort