photo

Dave


Last seen: 11 mesi fa Attivo dal 2015

Followers: 0   Following: 0

Messaggio

Statistica

All
  • Promoter
  • Commenter
  • First Answer
  • Solver
  • Thankful Level 3

Visualizza badge

Feeds

Visto da

Domanda


Suggestions for improving efficiency of code
Hey all, Just working on some things to teach myself different Matlab techniques. I've put together some code that looks at do...

oltre 3 anni fa | 1 risposta | 0

1

risposta

Risposto
New to mablab and need some basic help!
If you haven't already solved this, search for something like "creating arrays with loops". That should give you some examples o...

oltre 4 anni fa | 0

Risposto
New to mablab and need some basic help!
Consider creating an empty matrix prior to the 'for' statement. Then write the results to that matrix.

oltre 4 anni fa | 0

Risposto
How do I compare each value and take the average of same number of every comparison in a vector?
In which case if A = [95 95 96 96 97 97 95 95], then you could just sort(A) and then apply unique.

quasi 5 anni fa | 0

Risposto
Cell array: How can I calculate the mean of it?
Hi Max, Since it looks like you have the time1 and values1 data in a 1 x 7 numeric array I would create a single 2 x 7 array ...

circa 5 anni fa | 0

Risposto
I would like to get an cell array output by matching 2 cell arrays and returning with corresponding matched values from other cell array.
Just because I'm miserable with loops would using intersect meet your needs? Something like [c,s,t] = intersect(A,B)...

circa 6 anni fa | 0

Domanda


Using datenum with a structure field
I'm working with a structure called data and there is a data.DATE field with values in format of 'yyyy-mm-dd HH:MM'. When I...

oltre 6 anni fa | 2 risposte | 0

2

risposte

Domanda


Extract some data from a structure and create a new structure.
This is really a follow on to a previous question I asked. I'm given a structure of arrays. The following is an example of this ...

oltre 7 anni fa | 1 risposta | 0

1

risposta

Domanda


How to search a field in a structure and extract all fields that match
Hopefully I'll explain clearly as I haven't worked with structures much. I have been given a large 1x1 structure of arrays with ...

oltre 7 anni fa | 2 risposte | 0

2

risposte

Domanda


using plot with 2 x and 2 y axis
Hello, Here is what I would like to do. I have a matrix which is n x 4. I want to utilize plot to create a figure where colum...

circa 8 anni fa | 3 risposte | 0

3

risposte

Domanda


Removing rows based on numerical value
I would like to remove rows from a very large array based on a column that increments from 0.00 by tenths or hundreths to very l...

circa 8 anni fa | 1 risposta | 0

1

risposta

Domanda


Compare multiple columns in a cell array with strcmp
I have an m x n cell array. I would like to pull specific rows that match strings from different columns. Currently, I'm accompl...

oltre 8 anni fa | 2 risposte | 0

2

risposte

Risposto
How do I extract a row of data from a cell array based on a string?
Still working on this a bit. I've tried the following and just get the 1st row with 'Hill'. hill_log = strcmp(runlog1{:,4}, 'H...

oltre 9 anni fa | 0