Community Profile

photo

Dave


Last seen: 8 mois il y a Actif depuis 2015

Followers: 0   Following: 0

Contact

Statistiques

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

Afficher les badges

Feeds

Afficher par

Question


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...

environ 3 ans il y a | 1 réponse | 0

1

réponse

A répondu
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...

environ 4 ans il y a | 0

A répondu
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.

environ 4 ans il y a | 0

A répondu
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.

plus de 4 ans il y a | 0

A répondu
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 ...

presque 5 ans il y a | 0

A répondu
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)...

presque 6 ans il y a | 0

Question


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...

plus de 6 ans il y a | 2 réponses | 0

2

réponses

Question


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 ...

environ 7 ans il y a | 1 réponse | 0

1

réponse

Question


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 ...

environ 7 ans il y a | 2 réponses | 0

2

réponses

Question


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...

presque 8 ans il y a | 3 réponses | 0

3

réponses

Question


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...

presque 8 ans il y a | 1 réponse | 0

1

réponse

Question


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...

environ 8 ans il y a | 2 réponses | 0

2

réponses

A répondu
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...

environ 9 ans il y a | 0