Kyle Reagan
Followers: 0 Following: 0
Statistica
RANK
262.910
of 295.467
REPUTAZIONE
0
CONTRIBUTI
24 Domande
1 Risposta
ACCETTAZIONE DELLE RISPOSTE
66.67%
VOTI RICEVUTI
0
RANK
of 153.912
CONTRIBUTI
0 Problemi
0 Soluzioni
PUNTEGGIO
0
NUMERO DI BADGE
0
CONTRIBUTI
0 Post
CONTRIBUTI
0 Pubblico Canali
VALUTAZIONE MEDIA
CONTRIBUTI
0 Punti principali
NUMERO MEDIO DI LIKE
Feeds
Domanda
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...
oltre 7 anni fa | 1 risposta | 0
1
rispostaDomanda
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...
oltre 7 anni fa | 1 risposta | 0
1
rispostaHow 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. ...
oltre 7 anni fa | 0
| accettato
Domanda
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...
oltre 7 anni fa | 1 risposta | 0
1
rispostaDomanda
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 ...
oltre 7 anni fa | 1 risposta | 0
1
rispostaDomanda
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...
oltre 7 anni fa | 1 risposta | 0
1
rispostaDomanda
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...
oltre 7 anni fa | 0 risposte | 0
0
risposteDomanda
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...
oltre 7 anni fa | 2 risposte | 0
2
risposteDomanda
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...
oltre 7 anni fa | 1 risposta | 0
1
rispostaDomanda
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...
oltre 7 anni fa | 1 risposta | 0
1
rispostaDomanda
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...
oltre 7 anni fa | 1 risposta | 0
1
rispostaDomanda
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...
oltre 7 anni fa | 2 risposte | 0
2
risposteDomanda
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...
oltre 7 anni fa | 1 risposta | 0
1
rispostaDomanda
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...
oltre 7 anni fa | 0 risposte | 0
0
risposteDomanda
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...
oltre 7 anni fa | 2 risposte | 0
2
risposteDomanda
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...
oltre 7 anni fa | 1 risposta | 0
1
rispostaDomanda
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...
oltre 7 anni fa | 1 risposta | 0
1
rispostaDomanda
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...
oltre 7 anni fa | 1 risposta | 0
1
rispostaDomanda
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...
quasi 8 anni fa | 1 risposta | 0
1
rispostaDomanda
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...
quasi 8 anni fa | 1 risposta | 0
1
rispostaDomanda
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...
circa 8 anni fa | 1 risposta | 0
1
rispostaDomanda
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 ...
circa 8 anni fa | 0 risposte | 0
0
risposteDomanda
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...
circa 8 anni fa | 1 risposta | 0
1
rispostaDomanda
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...
circa 8 anni fa | 1 risposta | 0
1
rispostaDomanda
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...
oltre 8 anni fa | 1 risposta | 0