Community Profile

photo

Franchesca


Active since 2014

Statistics

  • Thankful Level 4
  • First Answer

View badges

Content Feed

View by

Question


How do i play a movie in a GUI axes?
i have imported an .avi file into the GUI however am unable to make it play. This is the code I have at the moment: ...

6 years ago | 0 answers | 1

0

answers

Question


How do I define more than one matrix as i= on for loop?
I have these 3 loops: for i = jumph SJvsSJWA = ttest2(i(ref(:,3)),i(ref(:,1)));% jump height CJvsCJWA =...

10 years ago | 1 answer | 0

1

answer

Question


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

10 years ago | 1 answer | 0

1

answer

Question


How to use find function to find consistent value in column?
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 ...

10 years ago | 1 answer | 0

1

answer

Question


How do I change orientation of a graph?
This is my code: %% Import data numfiles = 7; % number of excel files fileinfo = xlsread('Group B File Info'); d=dir...

10 years ago | 0 answers | 0

0

answers

Question


How do I return the first instance the value goes below 0 from a specific cell start point?
This is my code: clc clear all close all %% Import data numfiles = 54; % number of excel files mydata=cell(numf...

10 years ago | 2 answers | 0

2

answers

Question


How do I delete empty rows in a matrix?
%% Combine the data %combined = [6050,54]% define size of combined SWOA = zeros(100,5); CWOA = zeros(100,5); SWA = zeros(...

10 years ago | 1 answer | 0

1

answer

Question


I have a number in one matrix, how do I find this number in a corresponding matrix?
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 ...

10 years ago | 1 answer | 0

1

answer

Question


Data is all spaced out, I want it to fill from first row in matrix
I have this code: %% Combine the data %combined = [6050,54]% define size of combined SWOA = zeros(100,5); CWOA = zeros(...

10 years ago | 0 answers | 0

0

answers

Question


My loop returns no errors however doesn't product any results
I have this script shown below: %% Combine the data SWOA = [3,100]; CWOA = [3,100]; SWA = [3,100]; CWA = [3,100];...

10 years ago | 1 answer | 0

1

answer

Question


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

10 years ago | 1 answer | 0

1

answer

Question


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

10 years ago | 1 answer | 0

1

answer

Question


Counting the from when data changes to 0 then changes back to a number
This is my code: %% Import data numfiles = 54; % number of excel files mydata=cell(numfiles,1); % defining size of mydata ...

10 years ago | 1 answer | 0

1

answer

Answered
Can you help me with this GUI code?
Can anybody help???

10 years ago | 0

Question


Counting zeros gives varying values, how do I change this?
This is my code: %% Import data numfiles = 54; % number of excel files mydata=cell(numfiles,1); % defining size of myda...

10 years ago | 0 answers | 0

0

answers

Question


Can you help me with this GUI code?
Below is my GUI code; function varargout = GUI(varargin) % GUI MATLAB code for GUI.fig % GUI, by itself, creates a new...

10 years ago | 1 answer | 0

1

answer

Answered
GUI to set folder path then to select an image
[filename,filepath]=uigetfile({'*.bmp'},'Load Matlab File');

10 years ago | 0

Question


How do i save .avi file imported through a GUI into a variable so it can be played?
i have created a GUI and have opened the .avi file into this, however it doesn't right the .avi file to a variable when its open...

10 years ago | 1 answer | 0

1

answer

Question


how do i save the data from ginput?
This is my script: % --- Executes on button press in pushbutton5. select finish line function pushbutton5_Callback(hObject, ...

10 years ago | 1 answer | 0

1

answer

Question


How do I import file names that change in a loop?
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...

10 years ago | 1 answer | 0

1

answer

Question


How do I skip a blank file?
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...

10 years ago | 2 answers | 0

2

answers

Question


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

10 years ago | 4 answers | 0

4

answers

Question


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

10 years ago | 2 answers | 0

2

answers

Question


How do I import this CSV file?
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. ...

10 years ago | 1 answer | 0

1

answer

Question


In a column how do I find the first cell to equal 0?
I have this code so far: for i = 7:length(mydata) index = find (mydata{i,1}(:,5))== 0 end However,...

10 years ago | 1 answer | 0

1

answer

Question


What code would I use to find the first zero in a column?
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...

10 years ago | 1 answer | 0

1

answer

Question


What code would I use to find the first 0 then count from there?
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...

10 years ago | 2 answers | 0

2

answers

Question


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

10 years ago | 1 answer | 0

1

answer

Question


How do I access data within a cell?
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...

10 years ago | 1 answer | 0

1

answer

Load more