Community Profile

Contact

Top 5% contributor

Can anybody help???

0

Answered 1 year ago

[filename,filepath]=uigetfile({'*.bmp'},'Load Matlab File');

I cannot seem to import the multiple CSV files the code I am using is below: %% Import data numfiles = 54; % number of CS...

4 Answers

Asked 1 year ago

I have data imported from excel into a matrix and want to count the number of zeros in the file to work out the time.

3 Answers

I am importing a mass of files and am processing them, however a short way in there is a blank file so it imports but then the c...

2 Answers

This is the CSV file I have got however it opens through excel and won't import into Matlab using csvread function. <</ma...

I have a set of data which contains a block of zeros which I have wrote this code to count the zeros for: for i=7:lengt...

How do I find when a value in a matrix is the same (+ or - 5%) for say 20 rows? I have this code so far: %% Find start of ...

1 Answers

%% Combine the data %combined = [6050,54]% define size of combined SWOA = zeros(100,5); CWOA = zeros(100,5); SWA = zeros(...

I have a number in a matrix say 17 and I need to find this row number(17) in another matrix and find the corresponding value in ...

I have this script shown below: %% Combine the data SWOA = [3,100]; CWOA = [3,100]; SWA = [3,100]; CWA = [3,100];...

I am trying to run a loop which puts column 5 from every cell in this array shown below into a new matrix: <</matlabcentr...

%% Import data numfiles = 54; % number of excel files mydata=cell(numfiles,1); % defining size of mydata grouped = xlsrea...

I need to import Trial01, Trial02 and so on then Trial10, Triall11 but how do I define the 0 in the first 9 trails from 1 to 9 t...

I have this CSV files but it opens through excel so it's not a true CSV file and matlab won't import it using csvread function. ...

I have this code so far: for i = 7:length(mydata) index = find (mydata{i,1}(:,5))== 0 end However,...

I need to calculate the peak power from several sets of data which I have imported into Matlab. This is what the data looks like...

I have predefined the variable: no_of_zeros = cell(1,54); however when I run my code it says: 'Index exceeds matrix d...

I have a variable which contains all the data within each cell, so you have to double click to open each matrix of data. I wa...

I have wrote this loop to import a number of excel files at once and it works: numfiles = 54; % number of excel files myda...

I have collected data from a force plate for Trial 7 to Trial 54. I have imported the data into Matlab and it looks like the pic...

I have imported a number of excel files, Trial 7 to Trial 54. They have all imported into one variable and within that variable ...

I have managed to write a loop which imports all the files into matlab however, it has imported them all into one matrix and to ...

This is my code: clc clear all close all %% Import data numfiles = 54; % number of excel files mydata=cell(numf...

I have these 3 loops: for i = jumph SJvsSJWA = ttest2(i(ref(:,3)),i(ref(:,1)));% jump height CJvsCJWA =...

%% Import data numfiles = 12; % number of excel files data = cell(numfiles,1); data1 = data(1:end,:); for i=10:num...

This is my code: %% Import data numfiles = 54; % number of excel files mydata=cell(numfiles,1); % defining size of mydata ...

Below is my GUI code; function varargout = GUI(varargin) % GUI MATLAB code for GUI.fig % GUI, by itself, creates a new...

Load more