Gistlib Logo

gistlib

kaupunkien lämpötiloja on tallennettu tiedostoon lampotilat.xlsx. lue tiedosto matlabii ja tallenna muuttujat omiksi vektroreikseen in matlab

main.m
data = xlsread('lampotilat.xlsx');
kaupunki1_lampotila = data(:, 1);
kaupunki2_lampotila = data(:, 2);
kaupunki3_lampotila = data(:, 3);
137 chars
5 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

gistlibby LogSnag