Community Profile

photo

Jon


Active since 2013

Followers: 0   Following: 0

Message

Statistics

All
  • Knowledgeable Level 1
  • First Answer
  • Quiz Master
  • ASEE Challenge Master
  • First Review
  • First Submission
  • Creator
  • Speed Demon
  • CUP Challenge Master
  • Leader
  • Promoter
  • Commenter

View badges

Feeds

View by

Answered
circshift columns of array by different shift size
I think this does what you want. HH=cell2mat(arrayfun(@(k) circshift(d(:,k),k),1:size(d,2),'uni',0)) HH = ...

9 years ago | 1

| accepted

Answered
How to find all unique Names in a Matrix
I think the problem is the NaNs. If you don't remove them, as Image Analyst does when defining ca2, the unique function seems t...

9 years ago | 0

Answered
how i will choose a random element of a matrix and then find in which row,column it is
I think something like this would work. is01 = true; initialize flag for while loop while is01 ind=randi(num...

9 years ago | 0

Answered
Accessing multidimensional array with pairwise indices
I think your for loop is only getting data off the top page of the array. When I run your code, B is [ni 1], but all the others...

9 years ago | 1

Answered
Accessing multidimensional array with pairwise indices
I think sub2ind is the recommended approach in most cases. If you want to avoid repmat, you can do something like this. >> ...

9 years ago | 0

Answered
Assigning values to vectors of different lenghts
It's not clear what you need *a* for. You can make *d* directly from *c* and *b* as follows: >> d=b(c) d = ...

9 years ago | 2

Answered
How do I get the average of data that are divided into different time intervals?
To restate what you posted, you have a set of data consisting of _(value, input_time)_ pairs. At some interval, you want to rep...

10 years ago | 0

| accepted