Feeds
提问
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: ...
7 years 前 | 0 个回答 | 1
0
个回答提问
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 前 | 1 个回答 | 0
1
个回答提问
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 前 | 1 个回答 | 0
1
个回答提问
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 前 | 1 个回答 | 0
1
个回答提问
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 前 | 0 个回答 | 0
0
个回答提问
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 前 | 2 个回答 | 0
2
个回答提问
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 前 | 1 个回答 | 0
1
个回答提问
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 前 | 1 个回答 | 0
1
个回答提问
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 前 | 0 个回答 | 0
0
个回答提问
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 前 | 1 个回答 | 0
1
个回答提问
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 前 | 1 个回答 | 0
1
个回答提问
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 前 | 1 个回答 | 0
1
个回答提问
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 前 | 1 个回答 | 0
1
个回答已回答
How do i save .avi file imported through a GUI into a variable so it can be played?
Can anybody help???
How do i save .avi file imported through a GUI into a variable so it can be played?
Can anybody help???
10 years 前 | 0
提问
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 前 | 0 个回答 | 0
0
个回答提问
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 前 | 1 个回答 | 0
1
个回答已回答
GUI to set folder path then to select an image
[filename,filepath]=uigetfile({'*.bmp'},'Load Matlab File');
GUI to set folder path then to select an image
[filename,filepath]=uigetfile({'*.bmp'},'Load Matlab File');
10 years 前 | 0
提问
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 前 | 1 个回答 | 0
1
个回答提问
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 前 | 1 个回答 | 0
1
个回答提问
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 前 | 1 个回答 | 0
1
个回答提问
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 前 | 2 个回答 | 0
2
个回答提问
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 前 | 4 个回答 | 0
4
个回答提问
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 前 | 2 个回答 | 0
2
个回答提问
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 前 | 1 个回答 | 0
1
个回答提问
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 前 | 1 个回答 | 0
1
个回答提问
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 前 | 1 个回答 | 0
1
个回答提问
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 前 | 2 个回答 | 0
2
个回答提问
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 前 | 1 个回答 | 0
1
个回答提问
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 前 | 1 个回答 | 0