![photo](/responsive_image/150/150/0/0/0/cache/matlabcentral/profiles/9956912_1522134731827_DEF.jpg)
Chris Matthews
Followers: 0 Following: 0
Feeds
提问
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 前 | 1 个回答 | 0
1
个回答提问
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 前 | 2 个回答 | 0
2
个回答提问
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...
6 years 前 | 1 个回答 | 0
1
个回答提问
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-...
6 years 前 | 1 个回答 | 0
1
个回答提问
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 前 | 0 个回答 | 0
0
个回答提问
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 前 | 2 个回答 | 0
2
个回答提问
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 前 | 4 个回答 | 1
4
个回答提问
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 前 | 1 个回答 | 0
1
个回答提问
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 前 | 1 个回答 | 0
1
个回答提问
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 前 | 1 个回答 | 0
1
个回答提问
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 前 | 0 个回答 | 0