Gistlib Logo

gistlib

lue tiedosto lampotilat.xlsx ja tallenna muuttujat omiksi vektoreikseen in matlab

main.m
% Lataa tiedosto
data = readmatrix('lampotilat.xlsx');

% Tallenna muuttujat omiksi vektoreikseen
aika = data(:, 1);
lampotila = data(:, 2);
141 chars
7 lines

similar matlab code snippets

save an image using imwrite in matlab
iterate through all files in folder, open them and check if contains the string "abc" inside, then list all files that do in matlab
read in a file, if the file contains less than two measurement timepoints (i.e. less than two lines), the program should report an error and stop in matlab
mnist file to mat in matlab
loop through all files in folder and list those which end with .m in matlab
load all files of a certain type in a folder in matlab
fid = fopen(train_data, 'r', 'b'); in matlab
read an index and then open file number cooresponding to that index in matlab
list all files in folder that contain the string "abc" inside in matlab
fprintf with 2d array in matlab

related categories

matlab
file-io
data-handling

gistlibby LogSnag