Kyle Reagan
Followers: 0 Following: 0
Statistics
RANK
262.910
of 295.467
REPUTATION
0
CONTRIBUTIONS
24 Questions
1 Answer
ANSWER ACCEPTANCE
66.67%
VOTES RECEIVED
0
RANK
of 20.234
REPUTATION
N/A
AVERAGE RATING
0.00
CONTRIBUTIONS
0 Files
DOWNLOADS
0
ALL TIME DOWNLOADS
0
RANK
of 153.912
CONTRIBUTIONS
0 Problems
0 Solutions
SCORE
0
NUMBER OF BADGES
0
CONTRIBUTIONS
0 Posts
CONTRIBUTIONS
0 Public Channels
AVERAGE RATING
CONTRIBUTIONS
0 Highlights
AVERAGE NO. OF LIKES
Feeds
Question
How to count only increases in data
<</matlabcentral/answers/uploaded_files/84066/Capture.PNG>> I want to sum all the dramatic increases in my set of data, excep...
meer dan 7 jaar ago | 1 answer | 0
1
answerQuestion
Using nargin for a menu function
I have a menu function with 4 choices. The first two are buttons to be pressed to enter a start date (choice 1) and an end date...
meer dan 7 jaar ago | 1 answer | 0
1
answerHow to sort an array into groups with a minimum of 1 entry per group?
The solution to this is to make two new arrays, n and p that are slightly different from m. Do n = m - 0.01 and p = m + 0.01. ...
meer dan 7 jaar ago | 0
| accepted
Question
I have a matrix with two columns. I want to create a new one that only contains the rows without a 0 in the second column.
I have a matrix, _A_, that looks as follows. My goal is to have a new one, _B_, that is only made of the rows that do NOT have...
meer dan 7 jaar ago | 1 answer | 0
1
answerQuestion
How to overwrite pars of a cell array?
I have a 9x1 cell array composed of strings that looks as follows. k = [full... zero zero zero zero zero ...
meer dan 7 jaar ago | 1 answer | 0
1
answerQuestion
How to sort an array into groups with a minimum of 1 entry per group?
The code shown for the following array sorts it into 3 groups. It doesn't put the first number (7300.0) into a group because it...
meer dan 7 jaar ago | 1 answer | 0
1
answerQuestion
I want to compare two data sets at slightly offset times.
I have two sets of data, one called "MCA" and one called "Tank". I want to find the datetime where MCA = 10 as long as Tank has...
meer dan 7 jaar ago | 0 answers | 0
0
answersQuestion
Putting similar numbers into groups within an array
I have an array of numbers that looks something like follows. I want to group the array into subgroups where the numbers are al...
meer dan 7 jaar ago | 2 answers | 0
2
answersQuestion
Sorting the rows of a 2-column matrix based on entries from one column.
I have a matrix with two columns. The first column is numbers and the second is a string of words. I want to sort the entire m...
meer dan 7 jaar ago | 1 answer | 0
1
answerQuestion
How do I do a logic check to see if one or more entries in an array is below a certain value?
I have a 2 column matrix, with the first column being dates and the second column being Fan Speed. I want to have a script sear...
meer dan 7 jaar ago | 1 answer | 0
1
answerQuestion
Execute a for loop over a certain time period.
I use a function called uigetdate to get the date as a number (e.g. 736850). I then want to find the number of elapsed days for...
meer dan 7 jaar ago | 1 answer | 0
1
answerQuestion
Convert vector of datenum values to datetime values
The first column of a 3x2 matrix is datenum values. How do I convert each element to datetime? It looks as follows: b = [7...
meer dan 7 jaar ago | 2 answers | 0
2
answersQuestion
I have two columns of excel data which I want to be imported using xlsread based on certain criteria, but I can only get one column to be selected.
I have an excel file with two columns. The first is a numerical date column (e.g. 7.3685e+05) and the next column is text corre...
meer dan 7 jaar ago | 1 answer | 0
1
answerQuestion
Make a legend appear depending on selctions from a uitable
I have a uitable where a figure is displayed and depending on the cells clicked, different plots appear on the figure or get del...
meer dan 7 jaar ago | 0 answers | 0
0
answersQuestion
How to carry out a function when a cell is deselected on UItable.
I have a uitable with a cellSelectionCallback that works when the cell is selected (the function plots a graph with multiple dat...
meer dan 7 jaar ago | 2 answers | 0
2
answersQuestion
Help creating a GUI for a uitable where the user can select what gets displayed on a graph.
I have a script that displays a table with the option for a user to check up to three boxes. When one of the boxes gets checked...
meer dan 7 jaar ago | 1 answer | 0
1
answerQuestion
Creating a list to select graphs on figure
I want to create a list using uicontrol('Style','listbox') where a figure will pop up and the user can choose which data appears...
meer dan 7 jaar ago | 1 answer | 0
1
answerQuestion
Creat List on a Plot to select multiple data sets
I want to make a graph with up to 10 data sets plotted on it. My idea is to have the figure with a list where the user can sele...
meer dan 7 jaar ago | 1 answer | 0
1
answerQuestion
Clearing workspace variables while in a loop.
I have a while loop that contains a menu and some options for the user to input. One of them is to delete the workspace variabl...
bijna 8 jaar ago | 1 answer | 0
1
answerQuestion
Help with "matrix dimensions must agree".
In my code I have an input that says answer = input('Please type "yes" or no".','s'); if answer == 'yes' blah blah else dis...
bijna 8 jaar ago | 1 answer | 0
1
answerQuestion
If I use the built in menu function, can I then use "switch" and call the "case" by the order it appears on the menu?
choice = menu('Choose an option!','Set user name', 'Load data file'); switch choice case 1 % Set user na...
ongeveer 8 jaar ago | 1 answer | 0
1
answerQuestion
Trying to make a recursive tree function that calls on itself using OOP, where the object is a turtle.
I have a separate turtle class created already. Here is my code. function [obj] = tree(obj,n) % Creates tree to the order ...
ongeveer 8 jaar ago | 0 answers | 0
0
answersQuestion
I need help using recursion in OOP: : A level 1 tree is a line. A level 2 tree is a line and two level 1 trees (it looks like: Y). A level 3 tree is a line and two level 2 trees. A level 4 tree is a line and two level 3 trees.
I have a class set up with functions to drive forward and make turns. I just don't know how to make this work in a loop. The fo...
ongeveer 8 jaar ago | 1 answer | 0
1
answerQuestion
How do I write a function that finds the max, min, mean, median, mode, std, var, and count of an array? call it "mystat"
function [min,max,mean,median,mode,var,std] = mystat(x) % Enter in an array and mystat will give the min, max, mean, median, mo...
ongeveer 8 jaar ago | 1 answer | 0
1
answerQuestion
How do I insert the input of a string into an input asking for a number?
My example is naming a planet then asking for the mass of that specific planet in the next line. How do I call the name of the p...
meer dan 8 jaar ago | 1 answer | 0