photo

Chris Matthews


Last seen: 1 year ago Active since 2017

Followers: 0   Following: 0

Statistics

  • Thankful Level 2
  • Thankful Level 1

View badges

Feeds

View by

Question


Calculating the sum of the absolute differences of a matrix
Hi all, I have matrix X x=[0 0 1 2 4 2 5 1 0 0 3 7 9 6 9 0 0 0 0 3 7 0 0 0 2]; how I could calculate the sum of the di...

6 years ago | 1 answer | 0

1

answer

Question


How do I sum the first 3 values after each zero
Hi all, I have matrix X, and want to sum the first 3 values after each zero. So far I've managed to sum each block of values a...

6 years ago | 2 answers | 0

2

answers

Question


Performing pdist2 in a for-loop with varying lengths of arrays
Hi, I have a for loop that calls a .mat file one by one from a folder and compares it to a separate baseline .mat file. My...

7 years ago | 1 answer | 0

1

answer

Question


Saving a 2D matrix each loop iteration as a specific file type and name
Hi All, I've had a look at the other answers in the community and none seem to work for me, so here is my problem. In a for-...

7 years ago | 1 answer | 0

1

answer

Question


Break audio file into separate matrices depending on silence breaks
I have an audio file that has some speech like this: Hi (pause) How are you (pause) Using wavread, I can sample this audio ...

7 years ago | 0 answers | 0

0

answers

Question


Getting the frequency of all peaks after doing fft
Im running a pretty old version of matlab (without the findpeaks function) and want to determine the frequency of all of the pea...

7 years ago | 2 answers | 0

2

answers

Question


cumsum reset back to zero every 100 times
I have a matrix R = [1x601] size. I want to use cumsum to get an accumulative value but reset cumsum back to zero each 100 posi...

7 years ago | 4 answers | 1

4

answers

Question


Plotting very specific locations in matrix
Hi all, I want to plot a very specific group of values in a 6 x6 matrix on the same plot - the first 4 values in row 1, the...

7 years ago | 1 answer | 0

1

answer

Question


Using a for-loop with several input matrices
I have several matrices that I want to run a for-loop through, and am not sure how to do this. clc clear all TEST1 ...

7 years ago | 1 answer | 0

1

answer

Question


Adding a varying value to a for-loop
I have a function that has some constant and some varying inputs. t=0.2; %constant NT =300; %constant ti = 1:NT; B...

7 years ago | 1 answer | 0

1

answer

Question


Block truncation coding without using toolboxes or addins
Hi all, I need to write a matlab program to compress an image using the block truncation method and cannot use toolboxes or ad...

7 years ago | 0 answers | 0

0

answers